WebGPU

I first heard of WebGPU a few days ago. In essence, WebGPU is a Javascript API that interfaces with Vulkan, D3D12 and Metal, all of which were designed for modern GPUs. WebGPU will one day supersede WebGL, so we’d better check it out. WebGL was designed with the GPU computation model of the last decade. Since then, GPU technology has advanced. WebGPU intends to use the modern computation model.

Dawn is a WIP implementation for Chromium of the WIP WebGPU standard. There is a Ray Tracing extension for Dawn that uses DXR (or VK_KHR_ray_tracing). The extension’s API spec is here and here’s a tutorial. And I guess you build it by building Chromium first.