News for hackers. Stuff that matters.
Re:Chrome Ships WebGPU by madeofpalk on Thursday April 06, 2023 @05:56AM (#35466330)
Re:Chrome Ships WebGPU by flohofwoe on Thursday April 06, 2023 @06:12AM (#35466412)
Apple has a Khronos allergy, and both SPIRV and GLSL are Khronos standards.

Also the original 3D API proposal from Apple was essentially a 1:1 Javascript shim for Metal, which looked quite different from WebGPU.

Apple also originally proposed a custom shading language which looked like - but wasn't quite - HLSL. Compared to that, WGSL is the saner solution (because translation from and to SPIRV is relatively straightforward).

Re:Chrome Ships WebGPU by pjmlp on Friday April 07, 2023 @03:52AM (#35479257)
Mostly caused by how Khronos has managed OpenCL, and ironically Vulkan is slowly adopting HLSL as the main shading language, as they don't plan to invest into improving GLSL any further.