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(StringLinkageType), 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(StringString), BankBitsINTEL(Vec<u32>), ForcePow2DepthINTEL(u32),
}
Expand description

SPIR-V decorations.

Variants

RelaxedPrecision
SpecId(u32)

Tuple Fields of SpecId

0: u32
Block
BufferBlock
RowMajor
ColMajor
ArrayStride(u32)

Tuple Fields of ArrayStride

0: u32
MatrixStride(u32)

Tuple Fields of MatrixStride

0: u32
GLSLShared
GLSLPacked
CPacked
BuiltIn(BuiltIn)

Tuple Fields of BuiltIn

0: BuiltIn
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
UniformId(Word)

Tuple Fields of UniformId

0: Word
SaturatedConversion
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

Tuple Fields of FuncParamAttr

0: FunctionParameterAttribute
FPRoundingMode(FPRoundingMode)

Tuple Fields of FPRoundingMode

0: FPRoundingMode
FPFastMathMode(FPFastMathMode)

Tuple Fields of FPFastMathMode

0: FPFastMathMode
LinkageAttributes(StringLinkageType)

Tuple Fields of LinkageAttributes

0: String1: LinkageType
NoContraction
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
NoSignedWrap
NoUnsignedWrap
ExplicitInterpAMD
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV(u32)

Tuple Fields of SecondaryViewportRelativeNV

0: u32
PerPrimitiveNV
PerViewNV
PerTaskNV
PerVertexNV
NonUniform
NonUniformEXT
RestrictPointer
RestrictPointerEXT
AliasedPointer
AliasedPointerEXT
ReferencedIndirectlyINTEL
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
RegisterINTEL
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
SinglepumpINTEL
DoublepumpINTEL
MaxReplicatesINTEL(u32)

Tuple Fields of MaxReplicatesINTEL

0: u32
SimpleDualPortINTEL
MergeINTEL(StringString)

Tuple Fields of MergeINTEL

0: String1: String
BankBitsINTEL(Vec<u32>)

Tuple Fields of BankBitsINTEL

0: Vec<u32>
ForcePow2DepthINTEL(u32)

Tuple Fields of ForcePow2DepthINTEL

0: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.