Update Dawn backend to use WebGPU shared lib#1117
Merged
Merged
Conversation
dj2
approved these changes
May 19, 2026
1c33eed to
0e97c6e
Compare
Collaborator
Author
|
@dj2 Can you add kokoro:run again? |
dj2
approved these changes
May 19, 2026
This update refactors the Dawn backend to interface with a current external Dawn build using the monolithic 'webgpu_dawn' shared library and 'webgpu_cpp.h'. This is a large refactor of `engine_dawn.cc` which was AI-assisted, so it has mostly been reviewed for reasonableness and successful building and testing. It's intened to be better than it was, but still very much a WIP unstable backend. It's not clear which integration tests used to pass with the Dawn backend (since it has not been able to build for some time), but following this change at least 46 integration tests pass with the Dawn backend, so it is an improvement.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This update refactors the Dawn backend to interface with a current external Dawn build using the monolithic 'webgpu_dawn' shared library and 'webgpu_cpp.h'.
This is a large refactor of
engine_dawn.ccwhich was AI-assisted, so it has mostly been reviewed for reasonableness and successful building and testing. It's intened to be better than it was, but still very much a WIP unstable backend.It's not clear which integration tests used to pass with the Dawn backend (since it has not been able to build for some time), but following this change at least 46 integration tests pass with the Dawn backend, so it is an improvement.