Skip to main content

Module grammar

Module grammar 

Source
Expand description

The module containing the whole SPIR-V syntax grammar.

It defines the syntax grammar of all instructions (their layouts and operands).

It also provides many reflect functions.

Modules§

arm_motion_engine_100
debuginfo
glsl_std_450
nonsemantic_clspvreflection
nonsemantic_debugbreak
nonsemantic_debugprintf
nonsemantic_shader_debuginfo_100
nonsemantic_vkspreflection
opencl_debuginfo_100
opencl_std_100
reflect
Reflect functions for SPIR-V instructions.
spv_amd_gcn_shader
spv_amd_shader_ballot
spv_amd_shader_explicit_vertex_parameter
spv_amd_shader_trinary_minmax
tosa_001000_1

Structs§

BaseInstruction
Grammar for a SPIR-V instruction.
InstructionTable
The table for all SPIR-V core instructions.
LogicalOperand
Grammar for a SPIR-V logical operand.

Enums§

ExtInstOp
Wrapper enum for all extended instruction set opcodes.
OperandKind
All operand kinds in the SPIR-V grammar.
OperandQuantifier
The repeat specification for a SPIR-V logical operand.

Statics§

ARM_MOTION_ENGINE_100_INSTRUCTION_TABLE
DEBUGINFO_INSTRUCTION_TABLE
GLSL_STD_450_INSTRUCTION_TABLE
INSTRUCTION_TABLE
NONSEMANTIC_CLSPVREFLECTION_INSTRUCTION_TABLE
NONSEMANTIC_DEBUGBREAK_INSTRUCTION_TABLE
NONSEMANTIC_DEBUGPRINTF_INSTRUCTION_TABLE
NONSEMANTIC_SHADER_DEBUGINFO_100_INSTRUCTION_TABLE
NONSEMANTIC_VKSPREFLECTION_INSTRUCTION_TABLE
OPENCL_DEBUGINFO_100_INSTRUCTION_TABLE
OPENCL_STD_100_INSTRUCTION_TABLE
SPV_AMD_GCN_SHADER_INSTRUCTION_TABLE
SPV_AMD_SHADER_BALLOT_INSTRUCTION_TABLE
SPV_AMD_SHADER_EXPLICIT_VERTEX_PARAMETER_INSTRUCTION_TABLE
SPV_AMD_SHADER_TRINARY_MINMAX_INSTRUCTION_TABLE
TOSA_001000_1_INSTRUCTION_TABLE

Functions§

ext_inst_table

Type Aliases§

ExtendedInstruction
Instruction