cwoffenden / hello-webgpu

Cross-platform C++ example for WebGPU and Dawn
272 stars 36 forks source link

Add helloCompute path #5

Closed huningxin closed 8 months ago

huningxin commented 4 years ago

Inspired by https://developers.google.com/web/updates/2019/08/get-started-with-gpu-compute-on-the-web

huningxin commented 4 years ago

@cwoffenden , please take a look. Thanks!

cwoffenden commented 4 years ago

This is interesting and I think the project could benefit from having a different layout to support examples like this. Currently I have the textured quad example as a branch, but I'd like to do something more sustainable that could grow.

Let me first rearrange the repo to support multiple examples not needing to be in the same file, then I'll happily merge this. Thanks!

huningxin commented 4 years ago

Let me first rearrange the repo to support multiple examples not needing to be in the same file

It sounds good to me. Feel free to let me know when you've done and need me refactory the PR.