
The Google Chrome team has announced the release of the WebGPU API for high-performance 3D graphics and data parallel computation on the web. The new API is now available by default in Chrome 113, which is currently in the beta channel and will soon reach all users in the stable channel.
WebGPU is a new web standard and instruction set for hardware-accelerated graphics and computing developed by engineers at Google, Apple, Mozilla, Microsoft, and other companies. Like DirectX, Metal, and Vulkan, WebGPU allows rendering directly on the graphics processing unit (GPU) with access to more advanced features (unlike WebGL). WebGPU promises to reduce the JavaScript workload for the same graphics and improve the machine learning model interface by more than 3x.
Developers can draw highly detailed scenes and images with many different objects (e.g. CAD models) using WebGPU, implement advanced algorithms for drawing realistic scenes, and have better access to the GPU. together can run machine learning models more efficiently.
The new API is the result of more than six years of joint development (the initial design was developed in 2017). The first implementation is now available in Chrome, with Firefox and Safari to follow soon. WebGPU supports Windows PCs with DirectX 12, macOS, and ChromeOS with Vulkan support. Google says that Android and Linux support will arrive soon.
Developers can learn more about WebGPU support in Google Chrome. Blog post On the official Chrome Developers Blog. It also includes links to additional resources, such as W3C specifications, Best practices, MDN documentationetc