Khronos + W3C Collaborating On SPIR-V Potentially Being The Shading Language For The Web
The W3C put out an interesting status update this week on web games technologies and the various standardization efforts at play.
The updated included that the core WebAssembly specifications are "imminent" for publishing, the web gamepad specification continues being moved along, WebCodecs continue to be explored, and on the WebGPU front they are exploring the choice of shading language to use for next-generation web graphics.
The most interesting bit is: "A simple liaison with the Khronos Group was setup to coordinate on shared areas of interest. The GPU for the Web Community Group is notably discussing possible use of SPIR-V as shading language for WebGPU with the Khronos Group through that liaison."
Seeing W3C's WebGPU centralize on SPIR-V, the IR used by OpenCL and Vulkan and OpenGL 4.6, would be quite exciting. SPIR-V already has a robust ecosystem in place, there is extensive yet still growing assortment of open-source tooling around SPIR-V, plenty of existing open-source driver solutions as part of OpenGL/Vulkan drivers, and a lot of other momentum around SPIR-V.
Seeing SPIR-V as the "web shading language" is quite tantalizing and would allow for a lot of open-source code re-use and making use of the extensive open-source projects already built around SPIR-V and embracing that for the web.
The W3C web gaming update can be found on W3.org. Here's to hoping the working group ends up moving ahead with at least targeting a sub-set of SPIR-V for WebGPU!
The updated included that the core WebAssembly specifications are "imminent" for publishing, the web gamepad specification continues being moved along, WebCodecs continue to be explored, and on the WebGPU front they are exploring the choice of shading language to use for next-generation web graphics.
The most interesting bit is: "A simple liaison with the Khronos Group was setup to coordinate on shared areas of interest. The GPU for the Web Community Group is notably discussing possible use of SPIR-V as shading language for WebGPU with the Khronos Group through that liaison."
Seeing W3C's WebGPU centralize on SPIR-V, the IR used by OpenCL and Vulkan and OpenGL 4.6, would be quite exciting. SPIR-V already has a robust ecosystem in place, there is extensive yet still growing assortment of open-source tooling around SPIR-V, plenty of existing open-source driver solutions as part of OpenGL/Vulkan drivers, and a lot of other momentum around SPIR-V.
Seeing SPIR-V as the "web shading language" is quite tantalizing and would allow for a lot of open-source code re-use and making use of the extensive open-source projects already built around SPIR-V and embracing that for the web.
The W3C web gaming update can be found on W3.org. Here's to hoping the working group ends up moving ahead with at least targeting a sub-set of SPIR-V for WebGPU!
12 Comments