Enum rspirv::sr::Decoration [−][src]
pub enum Decoration {
Show 82 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,
ExplicitInterpAMD,
OverrideCoverageNV,
PassthroughNV,
ViewportRelativeNV,
SecondaryViewportRelativeNV(u32),
PerPrimitiveNV,
PerViewNV,
PerTaskNV,
PerVertexNV,
NonUniform,
NonUniformEXT,
RestrictPointer,
RestrictPointerEXT,
AliasedPointer,
AliasedPointerEXT,
ReferencedIndirectlyINTEL,
CounterBuffer(Word),
HlslCounterBufferGOOGLE(Word),
UserSemantic(String),
HlslSemanticGOOGLE(String),
UserTypeGOOGLE(String),
RegisterINTEL,
MemoryINTEL(String),
NumbanksINTEL(u32),
BankwidthINTEL(u32),
MaxPrivateCopiesINTEL(u32),
SinglepumpINTEL,
DoublepumpINTEL,
MaxReplicatesINTEL(u32),
SimpleDualPortINTEL,
MergeINTEL(String, String),
BankBitsINTEL(Vec<u32>),
ForcePow2DepthINTEL(u32),
}
Expand description
SPIR-V decorations.
Variants
SpecId(u32)
Tuple Fields of SpecId
0: u32
ArrayStride(u32)
Tuple Fields of ArrayStride
0: u32
MatrixStride(u32)
Tuple Fields of MatrixStride
0: u32
BuiltIn(BuiltIn)
Tuple Fields of BuiltIn
0: BuiltIn
UniformId(Word)
Tuple Fields of UniformId
0: Word
Stream(u32)
Tuple Fields of Stream
0: u32
Location(u32)
Tuple Fields of Location
0: u32
Component(u32)
Tuple Fields of Component
0: u32
Index(u32)
Tuple Fields of Index
0: u32
Binding(u32)
Tuple Fields of Binding
0: u32
DescriptorSet(u32)
Tuple Fields of DescriptorSet
0: u32
Offset(u32)
Tuple Fields of Offset
0: u32
XfbBuffer(u32)
Tuple Fields of XfbBuffer
0: u32
XfbStride(u32)
Tuple Fields of XfbStride
0: u32
FuncParamAttr(FunctionParameterAttribute)
Tuple Fields of FuncParamAttr
FPRoundingMode(FPRoundingMode)
Tuple Fields of FPRoundingMode
FPFastMathMode(FPFastMathMode)
Tuple Fields of FPFastMathMode
LinkageAttributes(String, LinkageType)
Tuple Fields of LinkageAttributes
0: String
1: LinkageType
InputAttachmentIndex(u32)
Tuple Fields of InputAttachmentIndex
0: u32
Alignment(u32)
Tuple Fields of Alignment
0: u32
MaxByteOffset(u32)
Tuple Fields of MaxByteOffset
0: u32
AlignmentId(Word)
Tuple Fields of AlignmentId
0: Word
MaxByteOffsetId(Word)
Tuple Fields of MaxByteOffsetId
0: Word
SecondaryViewportRelativeNV(u32)
Tuple Fields of SecondaryViewportRelativeNV
0: u32
CounterBuffer(Word)
Tuple Fields of CounterBuffer
0: Word
HlslCounterBufferGOOGLE(Word)
Tuple Fields of HlslCounterBufferGOOGLE
0: Word
UserSemantic(String)
Tuple Fields of UserSemantic
0: String
HlslSemanticGOOGLE(String)
Tuple Fields of HlslSemanticGOOGLE
0: String
UserTypeGOOGLE(String)
Tuple Fields of UserTypeGOOGLE
0: String
MemoryINTEL(String)
Tuple Fields of MemoryINTEL
0: String
NumbanksINTEL(u32)
Tuple Fields of NumbanksINTEL
0: u32
BankwidthINTEL(u32)
Tuple Fields of BankwidthINTEL
0: u32
MaxPrivateCopiesINTEL(u32)
Tuple Fields of MaxPrivateCopiesINTEL
0: u32
MaxReplicatesINTEL(u32)
Tuple Fields of MaxReplicatesINTEL
0: u32
ForcePow2DepthINTEL(u32)
Tuple Fields of ForcePow2DepthINTEL
0: u32
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Decoration
impl Send for Decoration
impl Sync for Decoration
impl Unpin for Decoration
impl UnwindSafe for Decoration
Blanket Implementations
Mutably borrows from an owned value. Read more