Open
Description
Describe the project you are working on
Looks like this will ship with Chromium 113 and Firefox 113 (yes, both will have the same version). See https://developer.chrome.com/blog/webgpu-release/ and https://bugzilla.mozilla.org/show_bug.cgi?id=1746245
CanIUse has not been updated yet: https://caniuse.com/webgpu
Also, we have a nice site that makes surveys about device support: https://web3dsurvey.com/webgpu
Describe the problem or limitation you are having in your project
This is essentially Vulkan for web.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
- Improved performance: WebGPU is designed to utilize modern GPUs more efficiently, leading to better overall performance compared to WebGL 2.
- Lower overhead: WebGPU reduces CPU overhead, allowing for more efficient rendering and improved resource management.
- Unified shading language: WebGPU introduces a single, unified shading language (WGSL), simplifying development compared to WebGL 2's multiple shading languages (GLSL, ESSL).
- Better API design: WebGPU offers a more modern and user-friendly API, making it easier to develop and maintain applications.
- Broader hardware support: WebGPU supports more advanced features of modern GPUs, enabling developers to create more complex and visually impressive applications.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
See https://www.w3.org/TR/webgpu/
If this enhancement will not be used often, can it be worked around with a few lines of script?
No.
Is there a reason why this should be core and not an add-on in the asset library?
Yes.