Re:WebGPU and the Price of Compiling WGSL
by pjmlp on Tuesday October 07, 2025 @02:56AM
(#45500125)
No it doesn't, because not every WebGPU implementation is based on Vulkan.
[ Parent
| on HN ]
Re:WebGPU and the Price of Compiling WGSL
by flohofwoe on Tuesday October 07, 2025 @03:00AM
(#45500154)
The native WebGPU implementations accept SPIRV as input, but (AFAIK) it's still taken apart, validated, and translated into the backend-specific shader bytecode formats (AFAIK even for the Vulkan backends the SPIRV isn't simply passed through - at least in Dawn/Tint, not sure about wgpu.rs)