Firefox Nightly Build supports the WebGPU API
Apple Safari browser has already supported the WebGPU feature in previous updates, and Mozilla Firefox has also announced support for this feature and tested the WebGPU in a nightly build. “WebGPU is an emerging API that provides access to the graphics and computing capabilities of hardware on the web. It’s designed from the ground up within the W3C GPU for the Web group by all major browser vendors”. The syntax and difficulty of use are even simpler than the WebGL API. You can call hardware acceleration to achieve high-performance 3D drawing and computing functions.
WebGPU is a W3C GPU webpage working group composed of mainstream browser developers, Intel, and other organizations designed from scratch with security, portability, high performance, and high availability. Apple brought WebGPU support in the Safari browser update last September, and the Firefox browser has supported it from the latest nightly build.
Mozzila mentioned that WebGPU can allow richer and more complex graphics applications to be ported to web pages for execution, and also allows teams that originally focused on developing native platform applications to develop on web pages more easily through WebAssembly. WebGPU is built on new graphics APIs such as Vulkan, D3D12, and Metal, and can provide developers with API-based syntax-related functions.
The Firefox browser supports WebGPU. The core logic is provided by the wgpu-core project developed by the RUST community assisted by the Mozzila. This project is developed based on the gfx-rs project.
Developers or ordinary users who want to experience WebGPU can open the about:config configuration item in the Firefox nightly build, and then set dom.webgpu.enabled and gfx.webrender.all to true to have Vulkan driver. The program executes the WebGPU application on Windows 7, Windows 8, Windows 10, Linux, macOS, and some supported Android devices.