Enum spirv_utils::instruction::Decoration [] [src]

pub enum Decoration {
    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,
    SaturatedConversion,
    Stream(u32),
    Location(u32),
    Component(u32),
    Index(u32),
    Binding(u32),
    DescriptorSet(u32),
    Offset(u32),
    XfbBuffer(u32),
    XfbStride(u32),
    FuncParamAttr(FuncParamAttr),
    FPRoundingMode(FPRoundingMode),
    FPFastMathMode(FPFastMathMode),
    LinkageAttributes(String, LinkageType),
    NoContraction,
    InputAttachmentIndex(u32),
    Alignment(u32),
}

Variants

RelaxedPrecision
SpecId
Block
BufferBlock
RowMajor
ColMajor
ArrayStride
MatrixStride
GLSLShared
GLSLPacked
CPacked
BuiltIn
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
SaturatedConversion
Stream
Location
Component
Index
Binding
DescriptorSet
Offset
XfbBuffer
XfbStride
FuncParamAttr
FPRoundingMode
FPFastMathMode
LinkageAttributes
NoContraction
InputAttachmentIndex
Alignment

Methods

impl Decoration

fn to_desc(&self) -> Decoration

Trait Implementations

Derived Implementations

impl Debug for Decoration

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Decoration

fn clone(&self) -> Decoration

fn clone_from(&mut self, source: &Self)