To give a quick meta level update on this topic. I’ve been working on the WebGPU implementation for vtk.js a bit over the past couple months which has been going well. Part of the motivation behind that is to determine if WebGPU is a reasonable API for our desktop graphics as well. Google has created a library named Dawn that provides a native interface to WebGPU that we could use for desktop graphics. Dawn itself sits on top of vulkan/metal/directX12 and can be web assembled into WebGPU in JS. So at some point we need to make a decision between straight vulkan versus dawn. Right now my thinking is to go with Dawn. Google is using Dawn to implement WebGPU for chrome so it is actively being developed on multiple platforms. Dawn would also have the advantage of making rendering code/architecture between desktop and web very similar. So that is the current status and thinking.
5 Likes