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:
SPIR-V 1.3 was released March 7, 2018 as a unified specification, which covers SPIR-V 1.0, 1.1, 1.2, and 1.3.
There are separate specifications describing extended instruction sets:
These are located in the Khronos GitHub project SPIRV-Registry. New extensions can be proposed as a PR 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.
These older specifications are superceded by the Unified Specification.
SPIR-V 1.2, released May 15, 2017. The most recent revision is contained in the Unified Specification, which supercedes the following revision.
SPIR-V 1.1, released April 18, 2016. The most recent revision is contained in the Unified Specification, which supercedes the following revision.
The most recent revision of SPIR-V 1.0 is contained in the Unified Specification, which supercedes the following revision.
Khronos welcomes feedback on SPIR-V. To provide feedback, please file an issue in the SPIRV-Headers project.