Build a Rasterizer With Webgpu 01

Now since WebGPU is offcially rolled out in Chrome browser, let’s try it out by building a rasterizer using this new API. Basic Setup First, we need to check everything is ready for WebGPU. We can do this by checking if the navigator.gpu is available. if (!navigator.gpu) { console.error('WebGPU is not supported'); return; } If you have error in your console, that means you need to download the latest version of Chrome....

May 24, 2023