Just a headsup, I compile against the official Dawn build, and there are recent changes there affecting your webgpu-napi. You won't see these until you rebase your dawn-ray-tracing repo.
Error is:
../src/GPUShaderModule.cpp:23:14: error: no member named 'code' in 'WGPUShaderModuleDescriptor'
descriptor.code = nullptr;
~~~~~~~~~~ ^
../src/GPUShaderModule.cpp:24:14: error: no member named 'codeSize' in 'WGPUShaderModuleDescriptor'
descriptor.codeSize = 0;
~~~~~~~~~~ ^
2 errors generated.
Just a headsup, I compile against the official Dawn build, and there are recent changes there affecting your webgpu-napi. You won't see these until you rebase your dawn-ray-tracing repo.
Error is:
Related to this upstream Dawn change.
Local Fix:
Removed code and codeSize initializers (line 23 and 24).