Standard Portable Intermediate Representation

SPIR-V
Developer(s)Khronos Group
Initial release2015
Stable release
SPIR-V 1.6 / December 16, 2021; 2 years ago (2021-12-16)
Operating systemCross-platform
PlatformCross-platform
TypeIntermediate language
Websitewww.khronos.org/registry/SPIR-V

Standard Portable Intermediate Representation (SPIR) is an intermediate language for parallel computing and graphics by Khronos Group. It is used in multiple execution environments, including the Vulkan graphics API and the OpenCL compute API, to represent a shader or kernel. It is also used as an interchange language for cross compilation.[1][2]

SPIR-V is a new version of SPIR which was introduced in 2015 by the Khronos Group, and has since replaced the original SPIR, which was introduced in 2012.

On September 19th 2024, Microsoft has announced plans to adopt SPIR-V as the Direct3D Interchange format in place of DXIL, beginning support from Shader Model 7 on.[3]

  1. ^ Cite error: The named reference registry was invoked but never defined (see the help page).
  2. ^ Terzo, Olivier; Djemame, Karim; Scionti, Alberto; Pezuela, Clara (10 September 2019). Heterogeneous Computing Architectures: Challenges and Vision. CRC Press. ISBN 9780429680038. Retrieved 24 June 2022.
  3. ^ Bieneman, Chris (19 September 2024). "DirectX Adopting SPIR-V as the Interchange Format of the Future". DirectX Developer Blog. Retrieved 19 September 2024.