pub enum Decoration {
Show 140 variants
RelaxedPrecision,
SpecId(u32),
Block,
BufferBlock,
RowMajor,
ColMajor,
ArrayStride(u32),
MatrixStride(u32),
GLSLShared,
GLSLPacked,
CPacked,
BuiltIn(BuiltIn),
NoPerspective,
Flat,
Patch,
Centroid,
Sample,
Invariant,
Restrict,
Aliased,
Volatile,
Constant,
Coherent,
NonWritable,
NonReadable,
Uniform,
UniformId(Word),
SaturatedConversion,
Stream(u32),
Location(u32),
Component(u32),
Index(u32),
Binding(u32),
DescriptorSet(u32),
Offset(u32),
XfbBuffer(u32),
XfbStride(u32),
FuncParamAttr(FunctionParameterAttribute),
FPRoundingMode(FPRoundingMode),
FPFastMathMode(FPFastMathMode),
LinkageAttributes(String, LinkageType),
NoContraction,
InputAttachmentIndex(u32),
Alignment(u32),
MaxByteOffset(u32),
AlignmentId(Word),
MaxByteOffsetId(Word),
NoSignedWrap,
NoUnsignedWrap,
WeightTextureQCOM,
BlockMatchTextureQCOM,
ExplicitInterpAMD,
NodeSharesPayloadLimitsWithAMDX(Word),
NodeMaxPayloadsAMDX(Word),
TrackFinishWritingAMDX,
PayloadNodeNameAMDX(String),
OverrideCoverageNV,
PassthroughNV,
ViewportRelativeNV,
SecondaryViewportRelativeNV(u32),
PerPrimitiveNV,
PerPrimitiveEXT,
PerViewNV,
PerTaskNV,
PerVertexKHR,
PerVertexNV,
NonUniform,
NonUniformEXT,
RestrictPointer,
RestrictPointerEXT,
AliasedPointer,
AliasedPointerEXT,
HitObjectShaderRecordBufferNV,
BindlessSamplerNV,
BindlessImageNV,
BoundSamplerNV,
BoundImageNV,
SIMTCallINTEL(u32),
ReferencedIndirectlyINTEL,
ClobberINTEL(String),
SideEffectsINTEL,
VectorComputeVariableINTEL,
FuncParamIOKindINTEL(u32),
VectorComputeFunctionINTEL,
StackCallINTEL,
GlobalVariableOffsetINTEL(u32),
CounterBuffer(Word),
HlslCounterBufferGOOGLE(Word),
UserSemantic(String),
HlslSemanticGOOGLE(String),
UserTypeGOOGLE(String),
FunctionRoundingModeINTEL(u32, FPRoundingMode),
FunctionDenormModeINTEL(u32, FPDenormMode),
RegisterINTEL,
MemoryINTEL(String),
NumbanksINTEL(u32),
BankwidthINTEL(u32),
MaxPrivateCopiesINTEL(u32),
SinglepumpINTEL,
DoublepumpINTEL,
MaxReplicatesINTEL(u32),
SimpleDualPortINTEL,
MergeINTEL(String, String),
BankBitsINTEL(Vec<u32>),
ForcePow2DepthINTEL(u32),
BurstCoalesceINTEL,
CacheSizeINTEL(u32),
DontStaticallyCoalesceINTEL,
PrefetchINTEL(u32),
StallEnableINTEL,
FuseLoopsInFunctionINTEL,
MathOpDSPModeINTEL(u32, u32),
AliasScopeINTEL(Word),
NoAliasINTEL(Word),
InitiationIntervalINTEL(u32),
MaxConcurrencyINTEL(u32),
PipelineEnableINTEL(u32),
BufferLocationINTEL(u32),
IOPipeStorageINTEL(u32),
FunctionFloatingPointModeINTEL(u32, FPOperationMode),
SingleElementVectorINTEL,
VectorComputeCallableFunctionINTEL,
MediaBlockIOINTEL,
InitModeINTEL(InitializationModeQualifier),
ImplementInRegisterMapINTEL(u32),
HostAccessINTEL(HostAccessQualifier, String),
FPMaxErrorDecorationINTEL(u32),
LatencyControlLabelINTEL(u32),
LatencyControlConstraintINTEL(u32, u32, u32),
ConduitKernelArgumentINTEL,
RegisterMapKernelArgumentINTEL,
MMHostInterfaceAddressWidthINTEL(u32),
MMHostInterfaceDataWidthINTEL(u32),
MMHostInterfaceLatencyINTEL(u32),
MMHostInterfaceReadWriteModeINTEL(AccessQualifier),
MMHostInterfaceMaxBurstINTEL(u32),
MMHostInterfaceWaitRequestINTEL(u32),
StableKernelArgumentINTEL,
CacheControlLoadINTEL(u32, LoadCacheControl),
CacheControlStoreINTEL(u32, StoreCacheControl),
}
Expand description
SPIR-V decorations.
Variants§
RelaxedPrecision
SpecId(u32)
Block
BufferBlock
RowMajor
ColMajor
ArrayStride(u32)
MatrixStride(u32)
GLSLPacked
CPacked
BuiltIn(BuiltIn)
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
UniformId(Word)
SaturatedConversion
Stream(u32)
Location(u32)
Component(u32)
Index(u32)
Binding(u32)
DescriptorSet(u32)
Offset(u32)
XfbBuffer(u32)
XfbStride(u32)
FuncParamAttr(FunctionParameterAttribute)
FPRoundingMode(FPRoundingMode)
FPFastMathMode(FPFastMathMode)
LinkageAttributes(String, LinkageType)
NoContraction
InputAttachmentIndex(u32)
Alignment(u32)
MaxByteOffset(u32)
AlignmentId(Word)
MaxByteOffsetId(Word)
NoSignedWrap
NoUnsignedWrap
WeightTextureQCOM
BlockMatchTextureQCOM
ExplicitInterpAMD
NodeMaxPayloadsAMDX(Word)
TrackFinishWritingAMDX
PayloadNodeNameAMDX(String)
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV(u32)
PerPrimitiveNV
PerPrimitiveEXT
PerViewNV
PerTaskNV
PerVertexKHR
PerVertexNV
NonUniform
NonUniformEXT
RestrictPointer
RestrictPointerEXT
AliasedPointer
AliasedPointerEXT
HitObjectShaderRecordBufferNV
BindlessSamplerNV
BindlessImageNV
BoundSamplerNV
BoundImageNV
SIMTCallINTEL(u32)
ReferencedIndirectlyINTEL
ClobberINTEL(String)
SideEffectsINTEL
VectorComputeVariableINTEL
FuncParamIOKindINTEL(u32)
VectorComputeFunctionINTEL
StackCallINTEL
GlobalVariableOffsetINTEL(u32)
CounterBuffer(Word)
HlslCounterBufferGOOGLE(Word)
UserSemantic(String)
HlslSemanticGOOGLE(String)
UserTypeGOOGLE(String)
FunctionRoundingModeINTEL(u32, FPRoundingMode)
FunctionDenormModeINTEL(u32, FPDenormMode)
RegisterINTEL
MemoryINTEL(String)
NumbanksINTEL(u32)
BankwidthINTEL(u32)
MaxPrivateCopiesINTEL(u32)
SinglepumpINTEL
DoublepumpINTEL
MaxReplicatesINTEL(u32)
SimpleDualPortINTEL
MergeINTEL(String, String)
BankBitsINTEL(Vec<u32>)
ForcePow2DepthINTEL(u32)
BurstCoalesceINTEL
CacheSizeINTEL(u32)
DontStaticallyCoalesceINTEL
PrefetchINTEL(u32)
StallEnableINTEL
FuseLoopsInFunctionINTEL
MathOpDSPModeINTEL(u32, u32)
AliasScopeINTEL(Word)
NoAliasINTEL(Word)
InitiationIntervalINTEL(u32)
MaxConcurrencyINTEL(u32)
PipelineEnableINTEL(u32)
BufferLocationINTEL(u32)
IOPipeStorageINTEL(u32)
FunctionFloatingPointModeINTEL(u32, FPOperationMode)
SingleElementVectorINTEL
VectorComputeCallableFunctionINTEL
MediaBlockIOINTEL
InitModeINTEL(InitializationModeQualifier)
ImplementInRegisterMapINTEL(u32)
HostAccessINTEL(HostAccessQualifier, String)
FPMaxErrorDecorationINTEL(u32)
LatencyControlLabelINTEL(u32)
LatencyControlConstraintINTEL(u32, u32, u32)
ConduitKernelArgumentINTEL
RegisterMapKernelArgumentINTEL
MMHostInterfaceAddressWidthINTEL(u32)
MMHostInterfaceDataWidthINTEL(u32)
MMHostInterfaceLatencyINTEL(u32)
MMHostInterfaceReadWriteModeINTEL(AccessQualifier)
MMHostInterfaceMaxBurstINTEL(u32)
MMHostInterfaceWaitRequestINTEL(u32)
StableKernelArgumentINTEL
CacheControlLoadINTEL(u32, LoadCacheControl)
CacheControlStoreINTEL(u32, StoreCacheControl)
Trait Implementations§
Source§impl Clone for Decoration
impl Clone for Decoration
Source§fn clone(&self) -> Decoration
fn clone(&self) -> Decoration
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Decoration
impl Debug for Decoration
Source§impl PartialEq for Decoration
impl PartialEq for Decoration
impl Eq for Decoration
impl StructuralPartialEq for Decoration
Auto Trait Implementations§
impl Freeze for Decoration
impl RefUnwindSafe for Decoration
impl Send for Decoration
impl Sync for Decoration
impl Unpin for Decoration
impl UnwindSafe for Decoration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more