WebGPU Compute Example

Hi all,

I’ve been following the development of WebGPU mainly from a compute perspective and coming from an OpenGL (and now Vulkan) background I’ve found the API itself very easy and intuitive to use.
I couldn’t find any samples on using WebGPU for compute at the time that I put my first simple example on github but I’ve since experimented with going a little further and implemented marching cubes:
Pages:
https://jerrans.github.io/webgpu-marching-cubes/


Code:
https://github.com/jerrans/webgpu-marching-cubes


I didn’t have any issues other than whether setting the threads per threadgroup is something that would be exposed or not.

In any case the standard looks to be progressing well and I’m hoping to be able to contribute in the future.

Best,

Jerran.

Received on Thursday, 28 February 2019 08:44:37 UTC