Enum vulkano::shader::spirv::Decoration [−][src]
pub enum Decoration {
Show 102 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,
BindlessSamplerNV,
BindlessImageNV,
BoundSamplerNV,
BoundImageNV,
SIMTCallINTEL {
n: u32,
},
ReferencedIndirectlyINTEL,
ClobberINTEL {
register: String,
},
SideEffectsINTEL,
VectorComputeVariableINTEL,
FuncParamIOKindINTEL {
kind: u32,
},
VectorComputeFunctionINTEL,
StackCallINTEL,
GlobalVariableOffsetINTEL {
offset: u32,
},
CounterBuffer {
counter_buffer: Id,
},
UserSemantic {
semantic: String,
},
UserTypeGOOGLE {
user_type: String,
},
FunctionRoundingModeINTEL {
target_width: u32,
fp_rounding_mode: FPRoundingMode,
},
FunctionDenormModeINTEL {
target_width: u32,
fp_denorm_mode: FPDenormMode,
},
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,
},
BurstCoalesceINTEL,
CacheSizeINTEL {
cache_size_in_bytes: u32,
},
DontStaticallyCoalesceINTEL,
PrefetchINTEL {
prefetcher_size_in_bytes: u32,
},
StallEnableINTEL,
FuseLoopsInFunctionINTEL,
BufferLocationINTEL {
buffer_location_id: u32,
},
IOPipeStorageINTEL {
io_pipe_id: u32,
},
FunctionFloatingPointModeINTEL {
target_width: u32,
fp_operation_mode: FPOperationMode,
},
SingleElementVectorINTEL,
VectorComputeCallableFunctionINTEL,
}
Variants
RelaxedPrecision
SpecId
Fields
specialization_constant_id: u32
Block
BufferBlock
RowMajor
ColMajor
ArrayStride
Fields
array_stride: u32
MatrixStride
Fields
matrix_stride: u32
GLSLShared
GLSLPacked
CPacked
BuiltIn
Fields
built_in: BuiltIn
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
UniformId
Fields
execution: Id
SaturatedConversion
Stream
Fields
stream_number: u32
Location
Fields
location: u32
Component
Fields
component: u32
Index
Fields
index: u32
Binding
Fields
binding_point: u32
DescriptorSet
Fields
descriptor_set: u32
Offset
Fields
byte_offset: u32
XfbBuffer
Fields
xfb_buffer_number: u32
XfbStride
Fields
xfb_stride: u32
FuncParamAttr
Fields
function_parameter_attribute: FunctionParameterAttribute
FPRoundingMode
Fields
floating_point_rounding_mode: FPRoundingMode
FPFastMathMode
Fields
fast_math_mode: FPFastMathMode
LinkageAttributes
NoContraction
InputAttachmentIndex
Fields
attachment_index: u32
Alignment
Fields
alignment: u32
MaxByteOffset
Fields
max_byte_offset: u32
AlignmentId
Fields
alignment: Id
MaxByteOffsetId
Fields
max_byte_offset: Id
NoSignedWrap
NoUnsignedWrap
ExplicitInterpAMD
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV
Fields
offset: u32
PerPrimitiveNV
PerViewNV
PerTaskNV
PerVertexNV
NonUniform
RestrictPointer
AliasedPointer
BindlessSamplerNV
BindlessImageNV
BoundSamplerNV
BoundImageNV
SIMTCallINTEL
Fields
n: u32
ReferencedIndirectlyINTEL
ClobberINTEL
Fields
register: String
SideEffectsINTEL
VectorComputeVariableINTEL
FuncParamIOKindINTEL
Fields
kind: u32
VectorComputeFunctionINTEL
StackCallINTEL
GlobalVariableOffsetINTEL
Fields
offset: u32
CounterBuffer
Fields
counter_buffer: Id
UserSemantic
Fields
semantic: String
UserTypeGOOGLE
Fields
user_type: String
FunctionRoundingModeINTEL
FunctionDenormModeINTEL
RegisterINTEL
MemoryINTEL
Fields
memory_type: String
NumbanksINTEL
Fields
banks: u32
BankwidthINTEL
Fields
bank_width: u32
MaxPrivateCopiesINTEL
Fields
maximum_copies: u32
SinglepumpINTEL
DoublepumpINTEL
MaxReplicatesINTEL
Fields
maximum_replicates: u32
SimpleDualPortINTEL
MergeINTEL
BankBitsINTEL
Fields
bank_bits: u32
ForcePow2DepthINTEL
Fields
force_key: u32
BurstCoalesceINTEL
CacheSizeINTEL
Fields
cache_size_in_bytes: u32
DontStaticallyCoalesceINTEL
PrefetchINTEL
Fields
prefetcher_size_in_bytes: u32
StallEnableINTEL
FuseLoopsInFunctionINTEL
BufferLocationINTEL
Fields
buffer_location_id: u32
IOPipeStorageINTEL
Fields
io_pipe_id: u32
FunctionFloatingPointModeINTEL
SingleElementVectorINTEL
VectorComputeCallableFunctionINTEL
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.