Crate spirv

Source
Expand description

The SPIR-V header.

This crate contains Rust definitions of all SPIR-V structs, enums, and constants.

The version of this crate is the version of SPIR-V it contains.

Structs§

CooperativeMatrixOperands
SPIR-V operand kind: CooperativeMatrixOperands
FPFastMathMode
SPIR-V operand kind: FPFastMathMode
FragmentShadingRate
SPIR-V operand kind: FragmentShadingRate
FunctionControl
SPIR-V operand kind: FunctionControl
ImageOperands
SPIR-V operand kind: ImageOperands
KernelProfilingInfo
SPIR-V operand kind: KernelProfilingInfo
LoopControl
SPIR-V operand kind: LoopControl
MemoryAccess
SPIR-V operand kind: MemoryAccess
MemorySemantics
SPIR-V operand kind: MemorySemantics
RayFlags
SPIR-V operand kind: RayFlags
SelectionControl
SPIR-V operand kind: SelectionControl

Enums§

AccessQualifier
SPIR-V operand kind: AccessQualifier
AddressingModel
SPIR-V operand kind: AddressingModel
BuiltIn
SPIR-V operand kind: BuiltIn
CLOp
OpenCL.std extended instruction opcode
Capability
SPIR-V operand kind: Capability
CooperativeMatrixLayout
SPIR-V operand kind: CooperativeMatrixLayout
CooperativeMatrixUse
SPIR-V operand kind: CooperativeMatrixUse
Decoration
SPIR-V operand kind: Decoration
Dim
SPIR-V operand kind: Dim
ExecutionMode
SPIR-V operand kind: ExecutionMode
ExecutionModel
SPIR-V operand kind: ExecutionModel
FPDenormMode
SPIR-V operand kind: FPDenormMode
FPOperationMode
SPIR-V operand kind: FPOperationMode
FPRoundingMode
SPIR-V operand kind: FPRoundingMode
FunctionParameterAttribute
SPIR-V operand kind: FunctionParameterAttribute
GLOp
GLSL.std.450 extended instruction opcode
GroupOperation
SPIR-V operand kind: GroupOperation
HostAccessQualifier
SPIR-V operand kind: HostAccessQualifier
ImageChannelDataType
SPIR-V operand kind: ImageChannelDataType
ImageChannelOrder
SPIR-V operand kind: ImageChannelOrder
ImageFormat
SPIR-V operand kind: ImageFormat
InitializationModeQualifier
SPIR-V operand kind: InitializationModeQualifier
KernelEnqueueFlags
SPIR-V operand kind: KernelEnqueueFlags
LinkageType
SPIR-V operand kind: LinkageType
LoadCacheControl
SPIR-V operand kind: LoadCacheControl
MemoryModel
SPIR-V operand kind: MemoryModel
Op
SPIR-V instructions opcodes
OverflowModes
SPIR-V operand kind: OverflowModes
PackedVectorFormat
SPIR-V operand kind: PackedVectorFormat
QuantizationModes
SPIR-V operand kind: QuantizationModes
RayQueryCandidateIntersectionType
SPIR-V operand kind: RayQueryCandidateIntersectionType
RayQueryCommittedIntersectionType
SPIR-V operand kind: RayQueryCommittedIntersectionType
RayQueryIntersection
SPIR-V operand kind: RayQueryIntersection
SamplerAddressingMode
SPIR-V operand kind: SamplerAddressingMode
SamplerFilterMode
SPIR-V operand kind: SamplerFilterMode
Scope
SPIR-V operand kind: Scope
SourceLanguage
SPIR-V operand kind: SourceLanguage
StorageClass
SPIR-V operand kind: StorageClass
StoreCacheControl
SPIR-V operand kind: StoreCacheControl

Constants§

MAGIC_NUMBER
MAJOR_VERSION
MINOR_VERSION
REVISION

Type Aliases§

Word