pub enum Decoration {
Show 149 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),
SaturatedToLargestFloat8NormalConversionEXT,
NoSignedWrap,
NoUnsignedWrap,
WeightTextureQCOM,
BlockMatchTextureQCOM,
BlockMatchSamplerQCOM,
ExplicitInterpAMD,
NodeSharesPayloadLimitsWithAMDX(Word),
NodeMaxPayloadsAMDX(Word),
TrackFinishWritingAMDX,
PayloadNodeNameAMDX(Word),
PayloadNodeBaseIndexAMDX(Word),
PayloadNodeSparseArrayAMDX,
PayloadNodeArraySizeAMDX(Word),
PayloadDispatchIndirectAMDX,
ArrayStrideIdEXT(Word),
OffsetIdEXT(Word),
OverrideCoverageNV,
PassthroughNV,
ViewportRelativeNV,
SecondaryViewportRelativeNV(u32),
PerPrimitiveEXT,
PerViewNV,
PerTaskNV,
PerVertexKHR,
NonUniform,
RestrictPointer,
AliasedPointer,
MemberOffsetNV(u32),
HitObjectShaderRecordBufferNV,
HitObjectShaderRecordBufferEXT,
BankNV(u32),
BindlessSamplerNV,
BindlessImageNV,
BoundSamplerNV,
BoundImageNV,
SIMTCallINTEL(u32),
ReferencedIndirectlyINTEL,
ClobberINTEL(String),
SideEffectsINTEL,
VectorComputeVariableINTEL,
FuncParamIOKindINTEL(u32),
VectorComputeFunctionINTEL,
StackCallINTEL,
GlobalVariableOffsetINTEL(u32),
CounterBuffer(Word),
UserSemantic(String),
UserTypeGOOGLE(String),
FunctionRoundingModeINTEL(u32, FPRoundingMode),
FunctionDenormModeINTEL(u32, FPDenormMode),
RegisterALTERA,
MemoryALTERA(String),
NumbanksALTERA(u32),
BankwidthALTERA(u32),
MaxPrivateCopiesALTERA(u32),
SinglepumpALTERA,
DoublepumpALTERA,
MaxReplicatesALTERA(u32),
SimpleDualPortALTERA,
MergeALTERA(String, String),
BankBitsALTERA(Vec<u32>),
ForcePow2DepthALTERA(u32),
StridesizeALTERA(u32),
WordsizeALTERA(u32),
TrueDualPortALTERA,
BurstCoalesceALTERA,
CacheSizeALTERA(u32),
DontStaticallyCoalesceALTERA,
PrefetchALTERA(u32),
StallEnableALTERA,
FuseLoopsInFunctionALTERA,
MathOpDSPModeALTERA(u32, u32),
AliasScopeINTEL(Word),
NoAliasINTEL(Word),
InitiationIntervalALTERA(u32),
MaxConcurrencyALTERA(u32),
PipelineEnableALTERA(u32),
BufferLocationALTERA(u32),
IOPipeStorageALTERA(u32),
FunctionFloatingPointModeINTEL(u32, FPOperationMode),
SingleElementVectorINTEL,
VectorComputeCallableFunctionINTEL,
MediaBlockIOINTEL,
StallFreeALTERA,
FPMaxErrorDecorationINTEL(u32),
LatencyControlLabelALTERA(u32),
LatencyControlConstraintALTERA(u32, u32, u32),
ConduitKernelArgumentALTERA,
RegisterMapKernelArgumentALTERA,
MMHostInterfaceAddressWidthALTERA(u32),
MMHostInterfaceDataWidthALTERA(u32),
MMHostInterfaceLatencyALTERA(u32),
MMHostInterfaceReadWriteModeALTERA(AccessQualifier),
MMHostInterfaceMaxBurstALTERA(u32),
MMHostInterfaceWaitRequestALTERA(u32),
StableKernelArgumentALTERA,
HostAccessINTEL(HostAccessQualifier, String),
InitModeALTERA(InitializationModeQualifier),
ImplementInRegisterMapALTERA(u32),
ConditionalINTEL(Word),
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)
SaturatedToLargestFloat8NormalConversionEXT
NoSignedWrap
NoUnsignedWrap
WeightTextureQCOM
BlockMatchTextureQCOM
BlockMatchSamplerQCOM
ExplicitInterpAMD
NodeMaxPayloadsAMDX(Word)
TrackFinishWritingAMDX
PayloadNodeNameAMDX(Word)
PayloadNodeBaseIndexAMDX(Word)
PayloadNodeSparseArrayAMDX
PayloadNodeArraySizeAMDX(Word)
PayloadDispatchIndirectAMDX
ArrayStrideIdEXT(Word)
OffsetIdEXT(Word)
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV(u32)
PerPrimitiveEXT
PerViewNV
PerTaskNV
PerVertexKHR
NonUniform
RestrictPointer
AliasedPointer
MemberOffsetNV(u32)
HitObjectShaderRecordBufferNV
HitObjectShaderRecordBufferEXT
BankNV(u32)
BindlessSamplerNV
BindlessImageNV
BoundSamplerNV
BoundImageNV
SIMTCallINTEL(u32)
ReferencedIndirectlyINTEL
ClobberINTEL(String)
SideEffectsINTEL
VectorComputeVariableINTEL
FuncParamIOKindINTEL(u32)
VectorComputeFunctionINTEL
StackCallINTEL
GlobalVariableOffsetINTEL(u32)
CounterBuffer(Word)
UserSemantic(String)
UserTypeGOOGLE(String)
FunctionRoundingModeINTEL(u32, FPRoundingMode)
FunctionDenormModeINTEL(u32, FPDenormMode)
RegisterALTERA
MemoryALTERA(String)
NumbanksALTERA(u32)
BankwidthALTERA(u32)
MaxPrivateCopiesALTERA(u32)
SinglepumpALTERA
DoublepumpALTERA
MaxReplicatesALTERA(u32)
SimpleDualPortALTERA
MergeALTERA(String, String)
BankBitsALTERA(Vec<u32>)
ForcePow2DepthALTERA(u32)
StridesizeALTERA(u32)
WordsizeALTERA(u32)
TrueDualPortALTERA
BurstCoalesceALTERA
CacheSizeALTERA(u32)
DontStaticallyCoalesceALTERA
PrefetchALTERA(u32)
StallEnableALTERA
FuseLoopsInFunctionALTERA
MathOpDSPModeALTERA(u32, u32)
AliasScopeINTEL(Word)
NoAliasINTEL(Word)
InitiationIntervalALTERA(u32)
MaxConcurrencyALTERA(u32)
PipelineEnableALTERA(u32)
BufferLocationALTERA(u32)
IOPipeStorageALTERA(u32)
FunctionFloatingPointModeINTEL(u32, FPOperationMode)
SingleElementVectorINTEL
VectorComputeCallableFunctionINTEL
MediaBlockIOINTEL
StallFreeALTERA
FPMaxErrorDecorationINTEL(u32)
LatencyControlLabelALTERA(u32)
LatencyControlConstraintALTERA(u32, u32, u32)
ConduitKernelArgumentALTERA
RegisterMapKernelArgumentALTERA
MMHostInterfaceAddressWidthALTERA(u32)
MMHostInterfaceDataWidthALTERA(u32)
MMHostInterfaceLatencyALTERA(u32)
MMHostInterfaceReadWriteModeALTERA(AccessQualifier)
MMHostInterfaceMaxBurstALTERA(u32)
MMHostInterfaceWaitRequestALTERA(u32)
StableKernelArgumentALTERA
HostAccessINTEL(HostAccessQualifier, String)
InitModeALTERA(InitializationModeQualifier)
ImplementInRegisterMapALTERA(u32)
ConditionalINTEL(Word)
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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Source§fn eq(&self, other: &Decoration) -> bool
fn eq(&self, other: &Decoration) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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