Crate spirv_headers

Crate spirv_headers 

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§

FPFastMathMode
SPIR-V operand kind: FPFastMathMode
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
Decoration
/// SPIR-V operand kind: Decoration
Dim
/// SPIR-V operand kind: Dim
ExecutionMode
/// SPIR-V operand kind: ExecutionMode
ExecutionModel
/// SPIR-V operand kind: ExecutionModel
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
ImageChannelDataType
/// SPIR-V operand kind: ImageChannelDataType
ImageChannelOrder
/// SPIR-V operand kind: ImageChannelOrder
ImageFormat
/// SPIR-V operand kind: ImageFormat
KernelEnqueueFlags
/// SPIR-V operand kind: KernelEnqueueFlags
LinkageType
/// SPIR-V operand kind: LinkageType
MemoryModel
/// SPIR-V operand kind: MemoryModel
Op
SPIR-V instructions opcodes
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

Constants§

MAGIC_NUMBER
MAJOR_VERSION
MINOR_VERSION
REVISION

Type Aliases§

Word