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(StringLinkageType),
    NoContraction,
    InputAttachmentIndex(u32),
    Alignment(u32),
}

Variants

RelaxedPrecisionSpecId(u32)BlockBufferBlockRowMajorColMajorArrayStride(u32)MatrixStride(u32)GLSLSharedGLSLPackedCPackedBuiltIn(BuiltIn)NoPerspectiveFlatPatchCentroidSampleInvariantRestrictAliasedVolatileConstantCoherentNonWritableNonReadableUniformSaturatedConversionStream(u32)Location(u32)Component(u32)Index(u32)Binding(u32)DescriptorSet(u32)Offset(u32)XfbBuffer(u32)XfbStride(u32)FuncParamAttr(FuncParamAttr)FPRoundingMode(FPRoundingMode)FPFastMathMode(FPFastMathMode)LinkageAttributes(StringLinkageType)NoContractionInputAttachmentIndex(u32)Alignment(u32)

Methods

impl Decoration
[src]

fn to_desc(&self) -> Decoration

Trait Implementations

impl Debug for Decoration
[src]

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

Formats the value using the given formatter.

impl Clone for Decoration
[src]

fn clone(&self) -> Decoration

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more