Enum vulkano::spirv::Decoration[][src]

pub enum Decoration {
Show 77 variants RelaxedPrecision, SpecId { specialization_constant_id: u32, }, Block, BufferBlock, RowMajor, ColMajor, ArrayStride { array_stride: u32, }, MatrixStride { matrix_stride: u32, }, GLSLShared, GLSLPacked, CPacked, BuiltIn { built_in: BuiltIn, }, NoPerspective, Flat, Patch, Centroid, Sample, Invariant, Restrict, Aliased, Volatile, Constant, Coherent, NonWritable, NonReadable, Uniform, UniformId { execution: Id, }, SaturatedConversion, Stream { stream_number: u32, }, Location { location: u32, }, Component { component: u32, }, Index { index: u32, }, Binding { binding_point: u32, }, DescriptorSet { descriptor_set: u32, }, Offset { byte_offset: u32, }, XfbBuffer { xfb_buffer_number: u32, }, XfbStride { xfb_stride: u32, }, FuncParamAttr { function_parameter_attribute: FunctionParameterAttribute, }, FPRoundingMode { floating_point_rounding_mode: FPRoundingMode, }, FPFastMathMode { fast_math_mode: FPFastMathMode, }, LinkageAttributes { name: String, linkage_type: LinkageType, }, NoContraction, InputAttachmentIndex { attachment_index: u32, }, Alignment { alignment: u32, }, MaxByteOffset { max_byte_offset: u32, }, AlignmentId { alignment: Id, }, MaxByteOffsetId { max_byte_offset: Id, }, NoSignedWrap, NoUnsignedWrap, ExplicitInterpAMD, OverrideCoverageNV, PassthroughNV, ViewportRelativeNV, SecondaryViewportRelativeNV { offset: u32, }, PerPrimitiveNV, PerViewNV, PerTaskNV, PerVertexNV, NonUniform, RestrictPointer, AliasedPointer, ReferencedIndirectlyINTEL, CounterBuffer { counter_buffer: Id, }, UserSemantic { semantic: String, }, UserTypeGOOGLE { user_type: String, }, RegisterINTEL, MemoryINTEL { memory_type: String, }, NumbanksINTEL { banks: u32, }, BankwidthINTEL { bank_width: u32, }, MaxPrivateCopiesINTEL { maximum_copies: u32, }, SinglepumpINTEL, DoublepumpINTEL, MaxReplicatesINTEL { maximum_replicates: u32, }, SimpleDualPortINTEL, MergeINTEL { merge_key: String, merge_type: String, }, BankBitsINTEL { bank_bits: u32, }, ForcePow2DepthINTEL { force_key: u32, },
}

Variants

RelaxedPrecision
SpecId

Fields of SpecId

specialization_constant_id: u32
Block
BufferBlock
RowMajor
ColMajor
ArrayStride

Fields of ArrayStride

array_stride: u32
MatrixStride

Fields of MatrixStride

matrix_stride: u32
GLSLShared
GLSLPacked
CPacked
BuiltIn

Fields of BuiltIn

built_in: BuiltIn
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
UniformId

Fields of UniformId

execution: Id
SaturatedConversion
Stream

Fields of Stream

stream_number: u32
Location

Fields of Location

location: u32
Component

Fields of Component

component: u32
Index

Fields of Index

index: u32
Binding

Fields of Binding

binding_point: u32
DescriptorSet

Fields of DescriptorSet

descriptor_set: u32
Offset

Fields of Offset

byte_offset: u32
XfbBuffer

Fields of XfbBuffer

xfb_buffer_number: u32
XfbStride

Fields of XfbStride

xfb_stride: u32
FuncParamAttr

Fields of FuncParamAttr

function_parameter_attribute: FunctionParameterAttribute
FPRoundingMode

Fields of FPRoundingMode

floating_point_rounding_mode: FPRoundingMode
FPFastMathMode

Fields of FPFastMathMode

fast_math_mode: FPFastMathMode
LinkageAttributes

Fields of LinkageAttributes

name: Stringlinkage_type: LinkageType
NoContraction
InputAttachmentIndex

Fields of InputAttachmentIndex

attachment_index: u32
Alignment

Fields of Alignment

alignment: u32
MaxByteOffset

Fields of MaxByteOffset

max_byte_offset: u32
AlignmentId

Fields of AlignmentId

alignment: Id
MaxByteOffsetId

Fields of MaxByteOffsetId

max_byte_offset: Id
NoSignedWrap
NoUnsignedWrap
ExplicitInterpAMD
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV

Fields of SecondaryViewportRelativeNV

offset: u32
PerPrimitiveNV
PerViewNV
PerTaskNV
PerVertexNV
NonUniform
RestrictPointer
AliasedPointer
ReferencedIndirectlyINTEL
CounterBuffer

Fields of CounterBuffer

counter_buffer: Id
UserSemantic

Fields of UserSemantic

semantic: String
UserTypeGOOGLE

Fields of UserTypeGOOGLE

user_type: String
RegisterINTEL
MemoryINTEL

Fields of MemoryINTEL

memory_type: String
NumbanksINTEL

Fields of NumbanksINTEL

banks: u32
BankwidthINTEL

Fields of BankwidthINTEL

bank_width: u32
MaxPrivateCopiesINTEL

Fields of MaxPrivateCopiesINTEL

maximum_copies: u32
SinglepumpINTEL
DoublepumpINTEL
MaxReplicatesINTEL

Fields of MaxReplicatesINTEL

maximum_replicates: u32
SimpleDualPortINTEL
MergeINTEL

Fields of MergeINTEL

merge_key: Stringmerge_type: String
BankBitsINTEL

Fields of BankBitsINTEL

bank_bits: u32
ForcePow2DepthINTEL

Fields of ForcePow2DepthINTEL

force_key: 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 tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

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.