Skip to main content

Crate spirv

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
CooperativeMatrixReduce
SPIR-V operand kind: CooperativeMatrixReduce
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
MatrixMultiplyAccumulateOperands
SPIR-V operand kind: MatrixMultiplyAccumulateOperands
MemoryAccess
SPIR-V operand kind: MemoryAccess
MemorySemantics
SPIR-V operand kind: MemorySemantics
RawAccessChainOperands
SPIR-V operand kind: RawAccessChainOperands
RayFlags
SPIR-V operand kind: RayFlags
SelectionControl
SPIR-V operand kind: SelectionControl
TensorAddressingOperands
SPIR-V operand kind: TensorAddressingOperands
TensorOperands
SPIR-V operand kind: TensorOperands

Enums§

AccessQualifier
SPIR-V operand kind: AccessQualifier
AddressingModel
SPIR-V operand kind: AddressingModel
ArmMotionEngine100Op
Arm.MotionEngine.100 extended instruction opcode
BuiltIn
SPIR-V operand kind: BuiltIn
Capability
SPIR-V operand kind: Capability
ComponentType
SPIR-V operand kind: ComponentType
CooperativeMatrixLayout
SPIR-V operand kind: CooperativeMatrixLayout
CooperativeMatrixUse
SPIR-V operand kind: CooperativeMatrixUse
CooperativeVectorMatrixLayout
SPIR-V operand kind: CooperativeVectorMatrixLayout
DebuginfoOp
DebugInfo extended instruction opcode
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
FPEncoding
SPIR-V operand kind: FPEncoding
FPOperationMode
SPIR-V operand kind: FPOperationMode
FPRoundingMode
SPIR-V operand kind: FPRoundingMode
FunctionParameterAttribute
SPIR-V operand kind: FunctionParameterAttribute
GlslStd450Op
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
NamedMaximumNumberOfRegisters
SPIR-V operand kind: NamedMaximumNumberOfRegisters
NonsemanticClspvreflectionOp
NonSemantic.ClspvReflection extended instruction opcode
NonsemanticDebugbreakOp
NonSemantic.DebugBreak extended instruction opcode
NonsemanticDebugprintfOp
NonSemantic.DebugPrintf extended instruction opcode
NonsemanticShaderDebuginfo100Op
NonSemantic.Shader.DebugInfo.100 extended instruction opcode
NonsemanticVkspreflectionOp
NonSemantic.VkspReflection extended instruction opcode
Op
SPIR-V instructions opcodes
OpenclDebuginfo100Op
OpenCL.DebugInfo.100 extended instruction opcode
OpenclStd100Op
OpenCL.std extended instruction opcode
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
SpvAmdGcnShaderOp
SPV_AMD_gcn_shader extended instruction opcode
SpvAmdShaderBallotOp
SPV_AMD_shader_ballot extended instruction opcode
SpvAmdShaderExplicitVertexParameterOp
SPV_AMD_shader_explicit_vertex_parameter extended instruction opcode
SpvAmdShaderTrinaryMinmaxOp
SPV_AMD_shader_trinary_minmax extended instruction opcode
StorageClass
SPIR-V operand kind: StorageClass
StoreCacheControl
SPIR-V operand kind: StoreCacheControl
TensorClampMode
SPIR-V operand kind: TensorClampMode
Tosa0010001Op
TOSA.001000.1 extended instruction opcode

Constants§

MAGIC_NUMBER
MAJOR_VERSION
MINOR_VERSION
REVISION

Type Aliases§

Word