pub enum Decoration<'a> {
Show 150 variants
RelaxedPrecision,
SpecId {
specialization_constant_id: LiteralInteger,
},
Block,
BufferBlock,
RowMajor,
ColMajor,
ArrayStride {
array_stride: LiteralInteger,
},
MatrixStride {
matrix_stride: LiteralInteger,
},
GLSLShared,
GLSLPacked,
CPacked,
BuiltIn {
built_in: BuiltIn,
},
NoPerspective,
Flat,
Patch,
Centroid,
Sample,
Invariant,
Restrict,
Aliased,
Volatile,
Constant,
Coherent,
NonWritable,
NonReadable,
Uniform,
UniformId {
execution: IdScope,
},
SaturatedConversion,
Stream {
stream_number: LiteralInteger,
},
Location {
location: LiteralInteger,
},
Component {
component: LiteralInteger,
},
Index {
index: LiteralInteger,
},
Binding {
binding_point: LiteralInteger,
},
DescriptorSet {
descriptor_set: LiteralInteger,
},
Offset {
byte_offset: LiteralInteger,
},
XfbBuffer {
xfb_buffer_number: LiteralInteger,
},
XfbStride {
xfb_stride: LiteralInteger,
},
FuncParamAttr {
function_parameter_attribute: FunctionParameterAttribute,
},
FPRoundingMode {
floating_point_rounding_mode: FPRoundingMode,
},
FPFastMathMode {
fast_math_mode: FPFastMathMode,
},
LinkageAttributes {
name: LiteralString<'a>,
linkage_type: LinkageType,
},
NoContraction,
InputAttachmentIndex {
attachment_index: LiteralInteger,
},
Alignment {
alignment: LiteralInteger,
},
MaxByteOffset {
max_byte_offset: LiteralInteger,
},
AlignmentId {
alignment: IdRef,
},
MaxByteOffsetId {
max_byte_offset: IdRef,
},
SaturatedToLargestFloat8NormalConversionEXT,
NoSignedWrap,
NoUnsignedWrap,
WeightTextureQCOM,
BlockMatchTextureQCOM,
BlockMatchSamplerQCOM,
ExplicitInterpAMD,
NodeSharesPayloadLimitsWithAMDX {
payload_type: IdRef,
},
NodeMaxPayloadsAMDX {
max_number_of_payloads: IdRef,
},
TrackFinishWritingAMDX,
PayloadNodeNameAMDX {
node_name: IdRef,
},
PayloadNodeBaseIndexAMDX {
base_index: IdRef,
},
PayloadNodeSparseArrayAMDX,
PayloadNodeArraySizeAMDX {
array_size: IdRef,
},
PayloadDispatchIndirectAMDX,
ArrayStrideIdEXT {
array_stride: IdRef,
},
OffsetIdEXT {
byte_offset: IdRef,
},
UTFEncodedKHR,
OverrideCoverageNV,
PassthroughNV,
ViewportRelativeNV,
SecondaryViewportRelativeNV {
offset: LiteralInteger,
},
PerPrimitiveEXT,
PerViewNV,
PerTaskNV,
PerVertexKHR,
NonUniform,
RestrictPointer,
AliasedPointer,
MemberOffsetNV {
member_offset: LiteralInteger,
},
HitObjectShaderRecordBufferNV,
HitObjectShaderRecordBufferEXT,
BankNV {
bank: LiteralInteger,
},
BindlessSamplerNV,
BindlessImageNV,
BoundSamplerNV,
BoundImageNV,
SIMTCallINTEL {
n: LiteralInteger,
},
ReferencedIndirectlyINTEL,
ClobberINTEL {
register: LiteralString<'a>,
},
SideEffectsINTEL,
VectorComputeVariableINTEL,
FuncParamIOKindINTEL {
kind: LiteralInteger,
},
VectorComputeFunctionINTEL,
StackCallINTEL,
GlobalVariableOffsetINTEL {
offset: LiteralInteger,
},
CounterBuffer {
counter_buffer: IdRef,
},
UserSemantic {
semantic: LiteralString<'a>,
},
UserTypeGOOGLE {
user_type: LiteralString<'a>,
},
FunctionRoundingModeINTEL {
target_width: LiteralInteger,
fp_rounding_mode: FPRoundingMode,
},
FunctionDenormModeINTEL {
target_width: LiteralInteger,
fp_denorm_mode: FPDenormMode,
},
RegisterALTERA,
MemoryALTERA {
memory_type: LiteralString<'a>,
},
NumbanksALTERA {
banks: LiteralInteger,
},
BankwidthALTERA {
bank_width: LiteralInteger,
},
MaxPrivateCopiesALTERA {
maximum_copies: LiteralInteger,
},
SinglepumpALTERA,
DoublepumpALTERA,
MaxReplicatesALTERA {
maximum_replicates: LiteralInteger,
},
SimpleDualPortALTERA,
MergeALTERA {
merge_key: LiteralString<'a>,
merge_type: LiteralString<'a>,
},
BankBitsALTERA {
bank_bits: LiteralInteger,
},
ForcePow2DepthALTERA {
force_key: LiteralInteger,
},
StridesizeALTERA {
stride_size: LiteralInteger,
},
WordsizeALTERA {
word_size: LiteralInteger,
},
TrueDualPortALTERA,
BurstCoalesceALTERA,
CacheSizeALTERA {
cache_size_in_bytes: LiteralInteger,
},
DontStaticallyCoalesceALTERA,
PrefetchALTERA {
prefetcher_size_in_bytes: LiteralInteger,
},
StallEnableALTERA,
FuseLoopsInFunctionALTERA,
MathOpDSPModeALTERA {
mode: LiteralInteger,
propagate: LiteralInteger,
},
AliasScopeINTEL {
aliasing_scopes_list: IdRef,
},
NoAliasINTEL {
aliasing_scopes_list: IdRef,
},
InitiationIntervalALTERA {
cycles: LiteralInteger,
},
MaxConcurrencyALTERA {
invocations: LiteralInteger,
},
PipelineEnableALTERA {
enable: LiteralInteger,
},
BufferLocationALTERA {
buffer_location_id: LiteralInteger,
},
IOPipeStorageALTERA {
io_pipe_id: LiteralInteger,
},
FunctionFloatingPointModeINTEL {
target_width: LiteralInteger,
fp_operation_mode: FPOperationMode,
},
SingleElementVectorINTEL,
VectorComputeCallableFunctionINTEL,
MediaBlockIOINTEL,
StallFreeALTERA,
FPMaxErrorDecorationINTEL {
max_error: LiteralFloat,
},
LatencyControlLabelALTERA {
latency_label: LiteralInteger,
},
LatencyControlConstraintALTERA {
relative_to: LiteralInteger,
control_type: LiteralInteger,
relative_cycle: LiteralInteger,
},
ConduitKernelArgumentALTERA,
RegisterMapKernelArgumentALTERA,
MMHostInterfaceAddressWidthALTERA {
address_width: LiteralInteger,
},
MMHostInterfaceDataWidthALTERA {
data_width: LiteralInteger,
},
MMHostInterfaceLatencyALTERA {
latency: LiteralInteger,
},
MMHostInterfaceReadWriteModeALTERA {
read_write_mode: AccessQualifier,
},
MMHostInterfaceMaxBurstALTERA {
max_burst_count: LiteralInteger,
},
MMHostInterfaceWaitRequestALTERA {
waitrequest: LiteralInteger,
},
StableKernelArgumentALTERA,
HostAccessINTEL {
access: HostAccessQualifier,
name: LiteralString<'a>,
},
InitModeALTERA {
trigger: InitializationModeQualifier,
},
ImplementInRegisterMapALTERA {
value: LiteralInteger,
},
ConditionalINTEL {
condition: IdRef,
},
CacheControlLoadINTEL {
cache_level: LiteralInteger,
cache_control: LoadCacheControl,
},
CacheControlStoreINTEL {
cache_level: LiteralInteger,
cache_control: StoreCacheControl,
},
}Variants§
RelaxedPrecision
SpecId
Fields
§
specialization_constant_id: LiteralIntegerBlock
BufferBlock
RowMajor
ColMajor
ArrayStride
Fields
§
array_stride: LiteralIntegerMatrixStride
Fields
§
matrix_stride: LiteralIntegerGLSLPacked
CPacked
BuiltIn
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
UniformId
SaturatedConversion
Stream
Fields
§
stream_number: LiteralIntegerLocation
Fields
§
location: LiteralIntegerComponent
Fields
§
component: LiteralIntegerIndex
Fields
§
index: LiteralIntegerBinding
Fields
§
binding_point: LiteralIntegerDescriptorSet
Fields
§
descriptor_set: LiteralIntegerOffset
Fields
§
byte_offset: LiteralIntegerXfbBuffer
Fields
§
xfb_buffer_number: LiteralIntegerXfbStride
Fields
§
xfb_stride: LiteralIntegerFuncParamAttr
Fields
§
function_parameter_attribute: FunctionParameterAttributeFPRoundingMode
Fields
§
floating_point_rounding_mode: FPRoundingModeFPFastMathMode
Fields
§
fast_math_mode: FPFastMathModeLinkageAttributes
NoContraction
InputAttachmentIndex
Fields
§
attachment_index: LiteralIntegerAlignment
Fields
§
alignment: LiteralIntegerMaxByteOffset
Fields
§
max_byte_offset: LiteralIntegerAlignmentId
MaxByteOffsetId
SaturatedToLargestFloat8NormalConversionEXT
NoSignedWrap
NoUnsignedWrap
WeightTextureQCOM
BlockMatchTextureQCOM
BlockMatchSamplerQCOM
ExplicitInterpAMD
NodeMaxPayloadsAMDX
TrackFinishWritingAMDX
PayloadNodeNameAMDX
PayloadNodeBaseIndexAMDX
PayloadNodeSparseArrayAMDX
PayloadNodeArraySizeAMDX
PayloadDispatchIndirectAMDX
ArrayStrideIdEXT
OffsetIdEXT
UTFEncodedKHR
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV
Fields
§
offset: LiteralIntegerPerPrimitiveEXT
PerViewNV
PerTaskNV
PerVertexKHR
NonUniform
RestrictPointer
AliasedPointer
MemberOffsetNV
Fields
§
member_offset: LiteralIntegerHitObjectShaderRecordBufferNV
HitObjectShaderRecordBufferEXT
BankNV
Fields
§
bank: LiteralIntegerBindlessSamplerNV
BindlessImageNV
BoundSamplerNV
BoundImageNV
SIMTCallINTEL
Fields
ReferencedIndirectlyINTEL
ClobberINTEL
Fields
§
register: LiteralString<'a>SideEffectsINTEL
VectorComputeVariableINTEL
FuncParamIOKindINTEL
Fields
§
kind: LiteralIntegerVectorComputeFunctionINTEL
StackCallINTEL
GlobalVariableOffsetINTEL
Fields
§
offset: LiteralIntegerCounterBuffer
UserSemantic
Fields
§
semantic: LiteralString<'a>UserTypeGOOGLE
Fields
§
user_type: LiteralString<'a>FunctionRoundingModeINTEL
FunctionDenormModeINTEL
RegisterALTERA
MemoryALTERA
Fields
§
memory_type: LiteralString<'a>NumbanksALTERA
Fields
§
banks: LiteralIntegerBankwidthALTERA
Fields
§
bank_width: LiteralIntegerMaxPrivateCopiesALTERA
Fields
§
maximum_copies: LiteralIntegerSinglepumpALTERA
DoublepumpALTERA
MaxReplicatesALTERA
Fields
§
maximum_replicates: LiteralIntegerSimpleDualPortALTERA
MergeALTERA
BankBitsALTERA
Fields
§
bank_bits: LiteralIntegerForcePow2DepthALTERA
Fields
§
force_key: LiteralIntegerStridesizeALTERA
Fields
§
stride_size: LiteralIntegerWordsizeALTERA
Fields
§
word_size: LiteralIntegerTrueDualPortALTERA
BurstCoalesceALTERA
CacheSizeALTERA
Fields
§
cache_size_in_bytes: LiteralIntegerDontStaticallyCoalesceALTERA
PrefetchALTERA
Fields
§
prefetcher_size_in_bytes: LiteralIntegerStallEnableALTERA
FuseLoopsInFunctionALTERA
MathOpDSPModeALTERA
AliasScopeINTEL
NoAliasINTEL
InitiationIntervalALTERA
Fields
§
cycles: LiteralIntegerMaxConcurrencyALTERA
Fields
§
invocations: LiteralIntegerPipelineEnableALTERA
Fields
§
enable: LiteralIntegerBufferLocationALTERA
Fields
§
buffer_location_id: LiteralIntegerIOPipeStorageALTERA
Fields
§
io_pipe_id: LiteralIntegerFunctionFloatingPointModeINTEL
SingleElementVectorINTEL
VectorComputeCallableFunctionINTEL
MediaBlockIOINTEL
StallFreeALTERA
FPMaxErrorDecorationINTEL
Fields
§
max_error: LiteralFloatLatencyControlLabelALTERA
Fields
§
latency_label: LiteralIntegerLatencyControlConstraintALTERA
ConduitKernelArgumentALTERA
RegisterMapKernelArgumentALTERA
MMHostInterfaceAddressWidthALTERA
Fields
§
address_width: LiteralIntegerMMHostInterfaceDataWidthALTERA
Fields
§
data_width: LiteralIntegerMMHostInterfaceLatencyALTERA
Fields
§
latency: LiteralIntegerMMHostInterfaceReadWriteModeALTERA
Fields
§
read_write_mode: AccessQualifierMMHostInterfaceMaxBurstALTERA
Fields
§
max_burst_count: LiteralIntegerMMHostInterfaceWaitRequestALTERA
Fields
§
waitrequest: LiteralIntegerStableKernelArgumentALTERA
HostAccessINTEL
InitModeALTERA
Fields
§
trigger: InitializationModeQualifierImplementInRegisterMapALTERA
Fields
§
value: LiteralIntegerConditionalINTEL
CacheControlLoadINTEL
CacheControlStoreINTEL
Implementations§
Source§impl<'a> Decoration<'a>
impl<'a> Decoration<'a>
pub fn parse_one(stream: &mut InstructionStream<'a>) -> ParseResult<Self>
Trait Implementations§
Source§impl<'a> Clone for Decoration<'a>
impl<'a> Clone for Decoration<'a>
Source§fn clone(&self) -> Decoration<'a>
fn clone(&self) -> Decoration<'a>
Returns a duplicate 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<'a> Debug for Decoration<'a>
impl<'a> Debug for Decoration<'a>
Source§impl<'a> Display for Decoration<'a>
impl<'a> Display for Decoration<'a>
impl<'a> Copy for Decoration<'a>
Auto Trait Implementations§
impl<'a> Freeze for Decoration<'a>
impl<'a> RefUnwindSafe for Decoration<'a>
impl<'a> Send for Decoration<'a>
impl<'a> Sync for Decoration<'a>
impl<'a> Unpin for Decoration<'a>
impl<'a> UnsafeUnpin for Decoration<'a>
impl<'a> UnwindSafe for Decoration<'a>
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