4 ms·
> I think it will replace Vulkan I do not expect this to happen at all. WepGPU (including its shading language) is a subset of Vulkan. Furthermore, it is up to
by zamalek 4y ago
> I think it will replace Vulkan
I do not expect this to happen at all. WepGPU (including its shading language) is a subset of Vulkan. Furthermore, it is up to the runtime to expose vendor extensions to the code (as one example, Node supports ray tracing, but nothing else does). This means that WebGPU will be perpetually behind Vulkan.
That being said, if WebGPU does what you need then don't bother with Vulkan.
- hgs3 4y agoYup. Don't even get me started on the lack of push constants. Last I checked WebGPU doesn't even expose raw GPU memory which means optimizations, like memory aliasing, are off the table.
- zamalek 4y agoExactly. I assume that some things can't safely be exposed either, as they could be a risk to the sandbox.
- flohofwoe 4y agoI bet it will replace Vulkan for most people who would otherwise have no other choice than using Vulkan on Linux or Android (these are the only operating systems where there's no alternative modern GPU API than Vulkan).