SPIR-V is a binary intermediate language for representing graphical-shader stages and compute kernels for multiple Khronos APIs, including OpenCL, OpenGL, and Vulkan. SPIR-V defines a new language and is a successor to the original Khronos SPIR, which supported only OpenCL device programs.
This registry contains or points to:
The unified specification contains all previous versions of SPIR-V.
There are separate specifications describing extended instruction sets:
Extension specifications are located and indexed in the Khronos GitHub project SPIRV-Registry. New extensions can be proposed as a pull request to that repository.
The SPIR-V Vendor and Token Registry is an XML file serving as the canonical document defining reserved vendor IDs and binary token ranges. It is available in the Khronos GitHub project at spir-v.xml.
If you need a vendor ID, or a reserved range of opcode or operand token values for your implementation, please file an issue or pull request in the SPIRV-Headers project.
Older specifications are superceded by the Unified Specification.
Khronos welcomes feedback on SPIR-V. To provide feedback, please file an issue in the SPIRV-Headers project.