Enum vulkano::shader::spirv::Decoration
source · pub enum Decoration {
Show 131 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,
WeightTextureQCOM,
BlockMatchTextureQCOM,
ExplicitInterpAMD,
NodeSharesPayloadLimitsWithAMDX {
payload_array: Id,
},
NodeMaxPayloadsAMDX {
max_number_of_payloads: Id,
},
TrackFinishWritingAMDX,
PayloadNodeNameAMDX {
node_name: String,
},
OverrideCoverageNV,
PassthroughNV,
ViewportRelativeNV,
SecondaryViewportRelativeNV {
offset: u32,
},
PerPrimitiveEXT,
PerViewNV,
PerTaskNV,
PerVertexKHR,
NonUniform,
RestrictPointer,
AliasedPointer,
HitObjectShaderRecordBufferNV,
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,
MathOpDSPModeINTEL {
mode: u32,
propagate: u32,
},
AliasScopeINTEL {
aliasing_scopes_list: Id,
},
NoAliasINTEL {
aliasing_scopes_list: Id,
},
InitiationIntervalINTEL {
cycles: u32,
},
MaxConcurrencyINTEL {
invocations: u32,
},
PipelineEnableINTEL {
enable: u32,
},
BufferLocationINTEL {
buffer_location_id: u32,
},
IOPipeStorageINTEL {
io_pipe_id: u32,
},
FunctionFloatingPointModeINTEL {
target_width: u32,
fp_operation_mode: FPOperationMode,
},
SingleElementVectorINTEL,
VectorComputeCallableFunctionINTEL,
MediaBlockIOINTEL,
InitModeINTEL {
trigger: InitializationModeQualifier,
},
ImplementInRegisterMapINTEL {
value: u32,
},
HostAccessINTEL {
access: HostAccessQualifier,
name: String,
},
FPMaxErrorDecorationINTEL {
max_error: f32,
},
LatencyControlLabelINTEL {
latency_label: u32,
},
LatencyControlConstraintINTEL {
relative_to: u32,
control_type: u32,
relative_cycle: u32,
},
ConduitKernelArgumentINTEL,
RegisterMapKernelArgumentINTEL,
MMHostInterfaceAddressWidthINTEL {
address_width: u32,
},
MMHostInterfaceDataWidthINTEL {
data_width: u32,
},
MMHostInterfaceLatencyINTEL {
latency: u32,
},
MMHostInterfaceReadWriteModeINTEL {
read_write_mode: AccessQualifier,
},
MMHostInterfaceMaxBurstINTEL {
max_burst_count: u32,
},
MMHostInterfaceWaitRequestINTEL {
waitrequest: u32,
},
StableKernelArgumentINTEL,
}
Variants§
RelaxedPrecision
SpecId
Block
BufferBlock
RowMajor
ColMajor
ArrayStride
MatrixStride
GLSLPacked
CPacked
BuiltIn
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
UniformId
SaturatedConversion
Stream
Location
Component
Index
Binding
DescriptorSet
Offset
XfbBuffer
XfbStride
FuncParamAttr
Fields
§
function_parameter_attribute: FunctionParameterAttribute
FPRoundingMode
Fields
§
floating_point_rounding_mode: FPRoundingMode
FPFastMathMode
Fields
§
fast_math_mode: FPFastMathMode
LinkageAttributes
NoContraction
InputAttachmentIndex
Alignment
MaxByteOffset
AlignmentId
MaxByteOffsetId
NoSignedWrap
NoUnsignedWrap
WeightTextureQCOM
BlockMatchTextureQCOM
ExplicitInterpAMD
NodeMaxPayloadsAMDX
TrackFinishWritingAMDX
PayloadNodeNameAMDX
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV
PerPrimitiveEXT
PerViewNV
PerTaskNV
PerVertexKHR
NonUniform
RestrictPointer
AliasedPointer
HitObjectShaderRecordBufferNV
BindlessSamplerNV
BindlessImageNV
BoundSamplerNV
BoundImageNV
SIMTCallINTEL
ReferencedIndirectlyINTEL
ClobberINTEL
SideEffectsINTEL
VectorComputeVariableINTEL
FuncParamIOKindINTEL
VectorComputeFunctionINTEL
StackCallINTEL
GlobalVariableOffsetINTEL
CounterBuffer
UserSemantic
UserTypeGOOGLE
FunctionRoundingModeINTEL
FunctionDenormModeINTEL
RegisterINTEL
MemoryINTEL
NumbanksINTEL
BankwidthINTEL
MaxPrivateCopiesINTEL
SinglepumpINTEL
DoublepumpINTEL
MaxReplicatesINTEL
SimpleDualPortINTEL
MergeINTEL
BankBitsINTEL
ForcePow2DepthINTEL
BurstCoalesceINTEL
CacheSizeINTEL
DontStaticallyCoalesceINTEL
PrefetchINTEL
StallEnableINTEL
FuseLoopsInFunctionINTEL
MathOpDSPModeINTEL
AliasScopeINTEL
NoAliasINTEL
InitiationIntervalINTEL
MaxConcurrencyINTEL
PipelineEnableINTEL
BufferLocationINTEL
IOPipeStorageINTEL
FunctionFloatingPointModeINTEL
SingleElementVectorINTEL
VectorComputeCallableFunctionINTEL
MediaBlockIOINTEL
InitModeINTEL
Fields
§
trigger: InitializationModeQualifier
ImplementInRegisterMapINTEL
HostAccessINTEL
FPMaxErrorDecorationINTEL
LatencyControlLabelINTEL
LatencyControlConstraintINTEL
ConduitKernelArgumentINTEL
RegisterMapKernelArgumentINTEL
MMHostInterfaceAddressWidthINTEL
MMHostInterfaceDataWidthINTEL
MMHostInterfaceLatencyINTEL
MMHostInterfaceReadWriteModeINTEL
Fields
§
read_write_mode: AccessQualifier
MMHostInterfaceMaxBurstINTEL
MMHostInterfaceWaitRequestINTEL
StableKernelArgumentINTEL
Trait Implementations§
source§impl Clone for Decoration
impl Clone for Decoration
source§fn clone(&self) -> Decoration
fn clone(&self) -> Decoration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Decoration
impl Debug for Decoration
source§impl PartialEq for Decoration
impl PartialEq for Decoration
source§fn eq(&self, other: &Decoration) -> bool
fn eq(&self, other: &Decoration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Decoration
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more