The WebGPU API has been made available by the Google Chrome team for high-performance 3D graphics and data-parallel web computation. , it is presently in the Beta Channel and will soon be available to all users in the Stable Channel, the new API is now pre-installed by default In Chrome 113
Engineers from Google, Apple, Mozilla, Microsoft, and other organizations have created the new WebGPU standard and instruction set for hardware-accelerated visuals and processing. WebGPU, like DirectX, Metal, and Vulkan, enables direct rendering on a graphics processing unit (GPU), with access to more advanced functionality (unlike WebGL). WebGPU promises to reduce JavaScript workload for the same graphics while improving machine learning model interfaces by more than thrice.
With increased GPU access, developers may draw graphics with highly detailed scenes and many distinct objects (CAD models, for example), execute advanced algorithms for painting realistic scenes, and run machine learning models more effectively.
The new API is the culmination of over six years of collaborative work (the initial design was developed in 2017). The initial implementation is now available in Chrome, with Firefox and Safari likely to follow. WebGPU is compatible with Windows PCs running DirectX 12, macOS, and ChromeOS running Vulkan. Google promises that Android and Linux support will be available soon.
Further information about WebGPU support in Google Chrome may be found in a blog post on the official Chrome Developers blog. It also contains links to other resources, such as W3C specifications, best practices, MDN documentation, and so on.