wasm_webgpu icon indicating copy to clipboard operation
wasm_webgpu copied to clipboard

Dawn Support / Instructions?

Open alienself opened this issue 2 years ago • 1 comments

Hi!

Any way to get more instructions about directly targeting Dawn? I have been trying to compile Dawn using cmake with little success. Do you have a sample project around that would showcase wasm_webgpu + Dawn?

alienself avatar Feb 07 '23 04:02 alienself

Heya, sorry for the delay. Currently the closest I got to working with Dawn is available at branch https://github.com/juj/wasm_webgpu/compare/main...getting_started_with_dawn , but haven't been able to squeeze more time in to look into completing it. Maybe that is of some help, if you haven't seen it yet?

In that branch, the library link directives at https://github.com/juj/wasm_webgpu/compare/main...getting_started_with_dawn#diff-7d5e7fff524477259e472bf6c42b0a26419b75cc359bbb689712ec10641e32b9R107-R117 are not quite accurate to make it work.

Which host OS are you targeting Dawn from?

juj avatar Feb 28 '23 10:02 juj