Enum rspirv::sr::Decoration
source · pub enum Decoration {
Show 82 variants
RelaxedPrecision,
SpecId(u32),
Block,
BufferBlock,
RowMajor,
ColMajor,
ArrayStride(u32),
MatrixStride(u32),
GLSLShared,
GLSLPacked,
CPacked,
BuiltIn(BuiltIn),
NoPerspective,
Flat,
Patch,
Centroid,
Sample,
Invariant,
Restrict,
Aliased,
Volatile,
Constant,
Coherent,
NonWritable,
NonReadable,
Uniform,
UniformId(Word),
SaturatedConversion,
Stream(u32),
Location(u32),
Component(u32),
Index(u32),
Binding(u32),
DescriptorSet(u32),
Offset(u32),
XfbBuffer(u32),
XfbStride(u32),
FuncParamAttr(FunctionParameterAttribute),
FPRoundingMode(FPRoundingMode),
FPFastMathMode(FPFastMathMode),
LinkageAttributes(String, LinkageType),
NoContraction,
InputAttachmentIndex(u32),
Alignment(u32),
MaxByteOffset(u32),
AlignmentId(Word),
MaxByteOffsetId(Word),
NoSignedWrap,
NoUnsignedWrap,
ExplicitInterpAMD,
OverrideCoverageNV,
PassthroughNV,
ViewportRelativeNV,
SecondaryViewportRelativeNV(u32),
PerPrimitiveNV,
PerViewNV,
PerTaskNV,
PerVertexNV,
NonUniform,
NonUniformEXT,
RestrictPointer,
RestrictPointerEXT,
AliasedPointer,
AliasedPointerEXT,
ReferencedIndirectlyINTEL,
CounterBuffer(Word),
HlslCounterBufferGOOGLE(Word),
UserSemantic(String),
HlslSemanticGOOGLE(String),
UserTypeGOOGLE(String),
RegisterINTEL,
MemoryINTEL(String),
NumbanksINTEL(u32),
BankwidthINTEL(u32),
MaxPrivateCopiesINTEL(u32),
SinglepumpINTEL,
DoublepumpINTEL,
MaxReplicatesINTEL(u32),
SimpleDualPortINTEL,
MergeINTEL(String, String),
BankBitsINTEL(Vec<u32>),
ForcePow2DepthINTEL(u32),
}
Expand description
SPIR-V decorations.
Variants§
RelaxedPrecision
SpecId(u32)
Block
BufferBlock
RowMajor
ColMajor
ArrayStride(u32)
MatrixStride(u32)
GLSLPacked
CPacked
BuiltIn(BuiltIn)
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
UniformId(Word)
SaturatedConversion
Stream(u32)
Location(u32)
Component(u32)
Index(u32)
Binding(u32)
DescriptorSet(u32)
Offset(u32)
XfbBuffer(u32)
XfbStride(u32)
FuncParamAttr(FunctionParameterAttribute)
FPRoundingMode(FPRoundingMode)
FPFastMathMode(FPFastMathMode)
LinkageAttributes(String, LinkageType)
NoContraction
InputAttachmentIndex(u32)
Alignment(u32)
MaxByteOffset(u32)
AlignmentId(Word)
MaxByteOffsetId(Word)
NoSignedWrap
NoUnsignedWrap
ExplicitInterpAMD
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV(u32)
PerPrimitiveNV
PerViewNV
PerTaskNV
PerVertexNV
NonUniform
NonUniformEXT
RestrictPointer
RestrictPointerEXT
AliasedPointer
AliasedPointerEXT
ReferencedIndirectlyINTEL
CounterBuffer(Word)
HlslCounterBufferGOOGLE(Word)
UserSemantic(String)
HlslSemanticGOOGLE(String)
UserTypeGOOGLE(String)
RegisterINTEL
MemoryINTEL(String)
NumbanksINTEL(u32)
BankwidthINTEL(u32)
MaxPrivateCopiesINTEL(u32)
SinglepumpINTEL
DoublepumpINTEL
MaxReplicatesINTEL(u32)
SimpleDualPortINTEL
MergeINTEL(String, String)
BankBitsINTEL(Vec<u32>)
ForcePow2DepthINTEL(u32)
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 Ord for Decoration
impl Ord for Decoration
source§fn cmp(&self, other: &Decoration) -> Ordering
fn cmp(&self, other: &Decoration) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Decoration> for Decoration
impl PartialEq<Decoration> 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 ==
.source§impl PartialOrd<Decoration> for Decoration
impl PartialOrd<Decoration> for Decoration
source§fn partial_cmp(&self, other: &Decoration) -> Option<Ordering>
fn partial_cmp(&self, other: &Decoration) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Decoration
impl StructuralEq for Decoration
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