Update webgpu.cpp for use with the latest Dawn#8714
Update webgpu.cpp for use with the latest Dawn#8714alexreinking wants to merge 7 commits intomainfrom
Conversation
It is already available when launched from CTest
This was changed without a deprecation window on Sep 2, 2024. https://issues.chromium.org/issues/42241177 webgpu-native/webgpu-headers#198 webgpu-native/webgpu-headers#322
|
This has turned into something much worse than what I thought it was. I've spent far too much time troubleshooting. I'm uploading this branch just to save my progress. Despite my best efforts, the code here does not work. The current state is that there appears to be an ABI mismatch between the code in However, as soon as I step into I don't know if this has to do with our weird hack of compiling the runtime initially for We need to discuss WebGPU and potential runtime ABI issues at the next |
For a while, we've had the buildbots equipped with hand-built installations of Dawn. This has made our webgpu testing limited and brittle. This PR manages the Dawn dependency via vcpkg, encoding our knowledge of how to build Dawn just right into an executable format.
Update the WebGPU documentation to show how to build Dawn correctly. The old instructions didn't work and I have opened and upstream issue here: https://issues.chromium.org/issues/437859885
We also drop
HL_WEBGPU_NODE_BINDINGSin favor of settingNODE_PATH, which is a standard variable, manually.Forthcoming buildbot changes will move more dependency management to vcpkg and CMake presets (only for CMake-specific dependencies and builders, of course).
Fixes #8743