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
Fields of SpecId
specialization_constant_id: u32
Fields of ArrayStride
array_stride: u32
Fields of MatrixStride
matrix_stride: u32
Fields of BuiltIn
built_in: BuiltIn
Fields of UniformId
execution: Id
Fields of Stream
stream_number: u32
Fields of Location
location: u32
Fields of Component
component: u32
Fields of Index
index: u32
Fields of Binding
binding_point: u32
Fields of DescriptorSet
descriptor_set: u32
Fields of Offset
byte_offset: u32
Fields of XfbBuffer
xfb_buffer_number: u32
Fields of XfbStride
xfb_stride: u32
Fields of FuncParamAttr
function_parameter_attribute: FunctionParameterAttribute
Fields of FPRoundingMode
floating_point_rounding_mode: FPRoundingMode
Fields of FPFastMathMode
fast_math_mode: FPFastMathMode
Fields of LinkageAttributes
name: String
linkage_type: LinkageType
Fields of InputAttachmentIndex
attachment_index: u32
Fields of Alignment
alignment: u32
Fields of MaxByteOffset
max_byte_offset: u32
Fields of AlignmentId
alignment: Id
Fields of MaxByteOffsetId
max_byte_offset: Id
Fields of SecondaryViewportRelativeNV
offset: u32
Fields of CounterBuffer
counter_buffer: Id
Fields of UserSemantic
semantic: String
Fields of UserTypeGOOGLE
user_type: String
Fields of MemoryINTEL
memory_type: String
Fields of NumbanksINTEL
banks: u32
Fields of BankwidthINTEL
bank_width: u32
Fields of MaxPrivateCopiesINTEL
maximum_copies: u32
Fields of MaxReplicatesINTEL
maximum_replicates: u32
Fields of BankBitsINTEL
bank_bits: u32
Fields of ForcePow2DepthINTEL
force_key: u32
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
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.