[][src]Enum spirv_headers::Op

#[repr(u32)]
pub enum Op {
    Nop,
    Undef,
    SourceContinued,
    Source,
    SourceExtension,
    Name,
    MemberName,
    String,
    Line,
    Extension,
    ExtInstImport,
    ExtInst,
    MemoryModel,
    EntryPoint,
    ExecutionMode,
    Capability,
    TypeVoid,
    TypeBool,
    TypeInt,
    TypeFloat,
    TypeVector,
    TypeMatrix,
    TypeImage,
    TypeSampler,
    TypeSampledImage,
    TypeArray,
    TypeRuntimeArray,
    TypeStruct,
    TypeOpaque,
    TypePointer,
    TypeFunction,
    TypeEvent,
    TypeDeviceEvent,
    TypeReserveId,
    TypeQueue,
    TypePipe,
    TypeForwardPointer,
    ConstantTrue,
    ConstantFalse,
    Constant,
    ConstantComposite,
    ConstantSampler,
    ConstantNull,
    SpecConstantTrue,
    SpecConstantFalse,
    SpecConstant,
    SpecConstantComposite,
    SpecConstantOp,
    Function,
    FunctionParameter,
    FunctionEnd,
    FunctionCall,
    Variable,
    ImageTexelPointer,
    Load,
    Store,
    CopyMemory,
    CopyMemorySized,
    AccessChain,
    InBoundsAccessChain,
    PtrAccessChain,
    ArrayLength,
    GenericPtrMemSemantics,
    InBoundsPtrAccessChain,
    Decorate,
    MemberDecorate,
    DecorationGroup,
    GroupDecorate,
    GroupMemberDecorate,
    VectorExtractDynamic,
    VectorInsertDynamic,
    VectorShuffle,
    CompositeConstruct,
    CompositeExtract,
    CompositeInsert,
    CopyObject,
    Transpose,
    SampledImage,
    ImageSampleImplicitLod,
    ImageSampleExplicitLod,
    ImageSampleDrefImplicitLod,
    ImageSampleDrefExplicitLod,
    ImageSampleProjImplicitLod,
    ImageSampleProjExplicitLod,
    ImageSampleProjDrefImplicitLod,
    ImageSampleProjDrefExplicitLod,
    ImageFetch,
    ImageGather,
    ImageDrefGather,
    ImageRead,
    ImageWrite,
    Image,
    ImageQueryFormat,
    ImageQueryOrder,
    ImageQuerySizeLod,
    ImageQuerySize,
    ImageQueryLod,
    ImageQueryLevels,
    ImageQuerySamples,
    ConvertFToU,
    ConvertFToS,
    ConvertSToF,
    ConvertUToF,
    UConvert,
    SConvert,
    FConvert,
    QuantizeToF16,
    ConvertPtrToU,
    SatConvertSToU,
    SatConvertUToS,
    ConvertUToPtr,
    PtrCastToGeneric,
    GenericCastToPtr,
    GenericCastToPtrExplicit,
    Bitcast,
    SNegate,
    FNegate,
    IAdd,
    FAdd,
    ISub,
    FSub,
    IMul,
    FMul,
    UDiv,
    SDiv,
    FDiv,
    UMod,
    SRem,
    SMod,
    FRem,
    FMod,
    VectorTimesScalar,
    MatrixTimesScalar,
    VectorTimesMatrix,
    MatrixTimesVector,
    MatrixTimesMatrix,
    OuterProduct,
    Dot,
    IAddCarry,
    ISubBorrow,
    UMulExtended,
    SMulExtended,
    Any,
    All,
    IsNan,
    IsInf,
    IsFinite,
    IsNormal,
    SignBitSet,
    LessOrGreater,
    Ordered,
    Unordered,
    LogicalEqual,
    LogicalNotEqual,
    LogicalOr,
    LogicalAnd,
    LogicalNot,
    Select,
    IEqual,
    INotEqual,
    UGreaterThan,
    SGreaterThan,
    UGreaterThanEqual,
    SGreaterThanEqual,
    ULessThan,
    SLessThan,
    ULessThanEqual,
    SLessThanEqual,
    FOrdEqual,
    FUnordEqual,
    FOrdNotEqual,
    FUnordNotEqual,
    FOrdLessThan,
    FUnordLessThan,
    FOrdGreaterThan,
    FUnordGreaterThan,
    FOrdLessThanEqual,
    FUnordLessThanEqual,
    FOrdGreaterThanEqual,
    FUnordGreaterThanEqual,
    ShiftRightLogical,
    ShiftRightArithmetic,
    ShiftLeftLogical,
    BitwiseOr,
    BitwiseXor,
    BitwiseAnd,
    Not,
    BitFieldInsert,
    BitFieldSExtract,
    BitFieldUExtract,
    BitReverse,
    BitCount,
    DPdx,
    DPdy,
    Fwidth,
    DPdxFine,
    DPdyFine,
    FwidthFine,
    DPdxCoarse,
    DPdyCoarse,
    FwidthCoarse,
    EmitVertex,
    EndPrimitive,
    EmitStreamVertex,
    EndStreamPrimitive,
    ControlBarrier,
    MemoryBarrier,
    AtomicLoad,
    AtomicStore,
    AtomicExchange,
    AtomicCompareExchange,
    AtomicCompareExchangeWeak,
    AtomicIIncrement,
    AtomicIDecrement,
    AtomicIAdd,
    AtomicISub,
    AtomicSMin,
    AtomicUMin,
    AtomicSMax,
    AtomicUMax,
    AtomicAnd,
    AtomicOr,
    AtomicXor,
    Phi,
    LoopMerge,
    SelectionMerge,
    Label,
    Branch,
    BranchConditional,
    Switch,
    Kill,
    Return,
    ReturnValue,
    Unreachable,
    LifetimeStart,
    LifetimeStop,
    GroupAsyncCopy,
    GroupWaitEvents,
    GroupAll,
    GroupAny,
    GroupBroadcast,
    GroupIAdd,
    GroupFAdd,
    GroupFMin,
    GroupUMin,
    GroupSMin,
    GroupFMax,
    GroupUMax,
    GroupSMax,
    ReadPipe,
    WritePipe,
    ReservedReadPipe,
    ReservedWritePipe,
    ReserveReadPipePackets,
    ReserveWritePipePackets,
    CommitReadPipe,
    CommitWritePipe,
    IsValidReserveId,
    GetNumPipePackets,
    GetMaxPipePackets,
    GroupReserveReadPipePackets,
    GroupReserveWritePipePackets,
    GroupCommitReadPipe,
    GroupCommitWritePipe,
    EnqueueMarker,
    EnqueueKernel,
    GetKernelNDrangeSubGroupCount,
    GetKernelNDrangeMaxSubGroupSize,
    GetKernelWorkGroupSize,
    GetKernelPreferredWorkGroupSizeMultiple,
    RetainEvent,
    ReleaseEvent,
    CreateUserEvent,
    IsValidEvent,
    SetUserEventStatus,
    CaptureEventProfilingInfo,
    GetDefaultQueue,
    BuildNDRange,
    ImageSparseSampleImplicitLod,
    ImageSparseSampleExplicitLod,
    ImageSparseSampleDrefImplicitLod,
    ImageSparseSampleDrefExplicitLod,
    ImageSparseSampleProjImplicitLod,
    ImageSparseSampleProjExplicitLod,
    ImageSparseSampleProjDrefImplicitLod,
    ImageSparseSampleProjDrefExplicitLod,
    ImageSparseFetch,
    ImageSparseGather,
    ImageSparseDrefGather,
    ImageSparseTexelsResident,
    NoLine,
    AtomicFlagTestAndSet,
    AtomicFlagClear,
    ImageSparseRead,
    SizeOf,
    TypePipeStorage,
    ConstantPipeStorage,
    CreatePipeFromPipeStorage,
    GetKernelLocalSizeForSubgroupCount,
    GetKernelMaxNumSubgroups,
    TypeNamedBarrier,
    NamedBarrierInitialize,
    MemoryNamedBarrier,
    ModuleProcessed,
    ExecutionModeId,
    DecorateId,
    GroupNonUniformElect,
    GroupNonUniformAll,
    GroupNonUniformAny,
    GroupNonUniformAllEqual,
    GroupNonUniformBroadcast,
    GroupNonUniformBroadcastFirst,
    GroupNonUniformBallot,
    GroupNonUniformInverseBallot,
    GroupNonUniformBallotBitExtract,
    GroupNonUniformBallotBitCount,
    GroupNonUniformBallotFindLSB,
    GroupNonUniformBallotFindMSB,
    GroupNonUniformShuffle,
    GroupNonUniformShuffleXor,
    GroupNonUniformShuffleUp,
    GroupNonUniformShuffleDown,
    GroupNonUniformIAdd,
    GroupNonUniformFAdd,
    GroupNonUniformIMul,
    GroupNonUniformFMul,
    GroupNonUniformSMin,
    GroupNonUniformUMin,
    GroupNonUniformFMin,
    GroupNonUniformSMax,
    GroupNonUniformUMax,
    GroupNonUniformFMax,
    GroupNonUniformBitwiseAnd,
    GroupNonUniformBitwiseOr,
    GroupNonUniformBitwiseXor,
    GroupNonUniformLogicalAnd,
    GroupNonUniformLogicalOr,
    GroupNonUniformLogicalXor,
    GroupNonUniformQuadBroadcast,
    GroupNonUniformQuadSwap,
    SubgroupBallotKHR,
    SubgroupFirstInvocationKHR,
    SubgroupAllKHR,
    SubgroupAnyKHR,
    SubgroupAllEqualKHR,
    SubgroupReadInvocationKHR,
    GroupIAddNonUniformAMD,
    GroupFAddNonUniformAMD,
    GroupFMinNonUniformAMD,
    GroupUMinNonUniformAMD,
    GroupSMinNonUniformAMD,
    GroupFMaxNonUniformAMD,
    GroupUMaxNonUniformAMD,
    GroupSMaxNonUniformAMD,
    FragmentMaskFetchAMD,
    FragmentFetchAMD,
    SubgroupShuffleINTEL,
    SubgroupShuffleDownINTEL,
    SubgroupShuffleUpINTEL,
    SubgroupShuffleXorINTEL,
    SubgroupBlockReadINTEL,
    SubgroupBlockWriteINTEL,
    SubgroupImageBlockReadINTEL,
    SubgroupImageBlockWriteINTEL,
    DecorateStringGOOGLE,
    MemberDecorateStringGOOGLE,
    GroupNonUniformPartitionNV,
}

SPIR-V instructions opcodes

Variants

Nop
Undef
SourceContinued
Source
SourceExtension
Name
MemberName
String
Line
Extension
ExtInstImport
ExtInst
MemoryModel
EntryPoint
ExecutionMode
Capability
TypeVoid
TypeBool
TypeInt
TypeFloat
TypeVector
TypeMatrix
TypeImage
TypeSampler
TypeSampledImage
TypeArray
TypeRuntimeArray
TypeStruct
TypeOpaque
TypePointer
TypeFunction
TypeEvent
TypeDeviceEvent
TypeReserveId
TypeQueue
TypePipe
TypeForwardPointer
ConstantTrue
ConstantFalse
Constant
ConstantComposite
ConstantSampler
ConstantNull
SpecConstantTrue
SpecConstantFalse
SpecConstant
SpecConstantComposite
SpecConstantOp
Function
FunctionParameter
FunctionEnd
FunctionCall
Variable
ImageTexelPointer
Load
Store
CopyMemory
CopyMemorySized
AccessChain
InBoundsAccessChain
PtrAccessChain
ArrayLength
GenericPtrMemSemantics
InBoundsPtrAccessChain
Decorate
MemberDecorate
DecorationGroup
GroupDecorate
GroupMemberDecorate
VectorExtractDynamic
VectorInsertDynamic
VectorShuffle
CompositeConstruct
CompositeExtract
CompositeInsert
CopyObject
Transpose
SampledImage
ImageSampleImplicitLod
ImageSampleExplicitLod
ImageSampleDrefImplicitLod
ImageSampleDrefExplicitLod
ImageSampleProjImplicitLod
ImageSampleProjExplicitLod
ImageSampleProjDrefImplicitLod
ImageSampleProjDrefExplicitLod
ImageFetch
ImageGather
ImageDrefGather
ImageRead
ImageWrite
Image
ImageQueryFormat
ImageQueryOrder
ImageQuerySizeLod
ImageQuerySize
ImageQueryLod
ImageQueryLevels
ImageQuerySamples
ConvertFToU
ConvertFToS
ConvertSToF
ConvertUToF
UConvert
SConvert
FConvert
QuantizeToF16
ConvertPtrToU
SatConvertSToU
SatConvertUToS
ConvertUToPtr
PtrCastToGeneric
GenericCastToPtr
GenericCastToPtrExplicit
Bitcast
SNegate
FNegate
IAdd
FAdd
ISub
FSub
IMul
FMul
UDiv
SDiv
FDiv
UMod
SRem
SMod
FRem
FMod
VectorTimesScalar
MatrixTimesScalar
VectorTimesMatrix
MatrixTimesVector
MatrixTimesMatrix
OuterProduct
Dot
IAddCarry
ISubBorrow
UMulExtended
SMulExtended
Any
All
IsNan
IsInf
IsFinite
IsNormal
SignBitSet
LessOrGreater
Ordered
Unordered
LogicalEqual
LogicalNotEqual
LogicalOr
LogicalAnd
LogicalNot
Select
IEqual
INotEqual
UGreaterThan
SGreaterThan
UGreaterThanEqual
SGreaterThanEqual
ULessThan
SLessThan
ULessThanEqual
SLessThanEqual
FOrdEqual
FUnordEqual
FOrdNotEqual
FUnordNotEqual
FOrdLessThan
FUnordLessThan
FOrdGreaterThan
FUnordGreaterThan
FOrdLessThanEqual
FUnordLessThanEqual
FOrdGreaterThanEqual
FUnordGreaterThanEqual
ShiftRightLogical
ShiftRightArithmetic
ShiftLeftLogical
BitwiseOr
BitwiseXor
BitwiseAnd
Not
BitFieldInsert
BitFieldSExtract
BitFieldUExtract
BitReverse
BitCount
DPdx
DPdy
Fwidth
DPdxFine
DPdyFine
FwidthFine
DPdxCoarse
DPdyCoarse
FwidthCoarse
EmitVertex
EndPrimitive
EmitStreamVertex
EndStreamPrimitive
ControlBarrier
MemoryBarrier
AtomicLoad
AtomicStore
AtomicExchange
AtomicCompareExchange
AtomicCompareExchangeWeak
AtomicIIncrement
AtomicIDecrement
AtomicIAdd
AtomicISub
AtomicSMin
AtomicUMin
AtomicSMax
AtomicUMax
AtomicAnd
AtomicOr
AtomicXor
Phi
LoopMerge
SelectionMerge
Label
Branch
BranchConditional
Switch
Kill
Return
ReturnValue
Unreachable
LifetimeStart
LifetimeStop
GroupAsyncCopy
GroupWaitEvents
GroupAll
GroupAny
GroupBroadcast
GroupIAdd
GroupFAdd
GroupFMin
GroupUMin
GroupSMin
GroupFMax
GroupUMax
GroupSMax
ReadPipe
WritePipe
ReservedReadPipe
ReservedWritePipe
ReserveReadPipePackets
ReserveWritePipePackets
CommitReadPipe
CommitWritePipe
IsValidReserveId
GetNumPipePackets
GetMaxPipePackets
GroupReserveReadPipePackets
GroupReserveWritePipePackets
GroupCommitReadPipe
GroupCommitWritePipe
EnqueueMarker
EnqueueKernel
GetKernelNDrangeSubGroupCount
GetKernelNDrangeMaxSubGroupSize
GetKernelWorkGroupSize
GetKernelPreferredWorkGroupSizeMultiple
RetainEvent
ReleaseEvent
CreateUserEvent
IsValidEvent
SetUserEventStatus
CaptureEventProfilingInfo
GetDefaultQueue
BuildNDRange
ImageSparseSampleImplicitLod
ImageSparseSampleExplicitLod
ImageSparseSampleDrefImplicitLod
ImageSparseSampleDrefExplicitLod
ImageSparseSampleProjImplicitLod
ImageSparseSampleProjExplicitLod
ImageSparseSampleProjDrefImplicitLod
ImageSparseSampleProjDrefExplicitLod
ImageSparseFetch
ImageSparseGather
ImageSparseDrefGather
ImageSparseTexelsResident
NoLine
AtomicFlagTestAndSet
AtomicFlagClear
ImageSparseRead
SizeOf
TypePipeStorage
ConstantPipeStorage
CreatePipeFromPipeStorage
GetKernelLocalSizeForSubgroupCount
GetKernelMaxNumSubgroups
TypeNamedBarrier
NamedBarrierInitialize
MemoryNamedBarrier
ModuleProcessed
ExecutionModeId
DecorateId
GroupNonUniformElect
GroupNonUniformAll
GroupNonUniformAny
GroupNonUniformAllEqual
GroupNonUniformBroadcast
GroupNonUniformBroadcastFirst
GroupNonUniformBallot
GroupNonUniformInverseBallot
GroupNonUniformBallotBitExtract
GroupNonUniformBallotBitCount
GroupNonUniformBallotFindLSB
GroupNonUniformBallotFindMSB
GroupNonUniformShuffle
GroupNonUniformShuffleXor
GroupNonUniformShuffleUp
GroupNonUniformShuffleDown
GroupNonUniformIAdd
GroupNonUniformFAdd
GroupNonUniformIMul
GroupNonUniformFMul
GroupNonUniformSMin
GroupNonUniformUMin
GroupNonUniformFMin
GroupNonUniformSMax
GroupNonUniformUMax
GroupNonUniformFMax
GroupNonUniformBitwiseAnd
GroupNonUniformBitwiseOr
GroupNonUniformBitwiseXor
GroupNonUniformLogicalAnd
GroupNonUniformLogicalOr
GroupNonUniformLogicalXor
GroupNonUniformQuadBroadcast
GroupNonUniformQuadSwap
SubgroupBallotKHR
SubgroupFirstInvocationKHR
SubgroupAllKHR
SubgroupAnyKHR
SubgroupAllEqualKHR
SubgroupReadInvocationKHR
GroupIAddNonUniformAMD
GroupFAddNonUniformAMD
GroupFMinNonUniformAMD
GroupUMinNonUniformAMD
GroupSMinNonUniformAMD
GroupFMaxNonUniformAMD
GroupUMaxNonUniformAMD
GroupSMaxNonUniformAMD
FragmentMaskFetchAMD
FragmentFetchAMD
SubgroupShuffleINTEL
SubgroupShuffleDownINTEL
SubgroupShuffleUpINTEL
SubgroupShuffleXorINTEL
SubgroupBlockReadINTEL
SubgroupBlockWriteINTEL
SubgroupImageBlockReadINTEL
SubgroupImageBlockWriteINTEL
DecorateStringGOOGLE
MemberDecorateStringGOOGLE
GroupNonUniformPartitionNV

Trait Implementations

impl Eq for Op[src]

impl Clone for Op[src]

impl PartialOrd<Op> for Op[src]

impl PartialEq<Op> for Op[src]

impl Ord for Op[src]

impl Copy for Op[src]

impl Hash for Op[src]

impl Debug for Op[src]

impl FromPrimitive for Op[src]

Auto Trait Implementations

impl Send for Op

impl Unpin for Op

impl Sync for Op

impl UnwindSafe for Op

impl RefUnwindSafe for Op

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]