Skip to content

Update Dawn backend to use WebGPU shared lib#1117

Merged
sudonatalie merged 1 commit into
google:mainfrom
sudonatalie:dawn-backend
May 19, 2026
Merged

Update Dawn backend to use WebGPU shared lib#1117
sudonatalie merged 1 commit into
google:mainfrom
sudonatalie:dawn-backend

Conversation

@sudonatalie
Copy link
Copy Markdown
Collaborator

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.

Comment thread samples/config_helper_dawn.cc
Comment thread samples/config_helper_dawn.cc Outdated
Comment thread samples/config_helper_dawn.cc
Comment thread samples/config_helper_vulkan.cc
@sudonatalie sudonatalie force-pushed the dawn-backend branch 2 times, most recently from 1c33eed to 0e97c6e Compare May 19, 2026 16:58
@sudonatalie
Copy link
Copy Markdown
Collaborator Author

@dj2 Can you add kokoro:run again?

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.
@dj2 dj2 added the kokoro:run label May 19, 2026
@sudonatalie sudonatalie merged commit 570b339 into google:main May 19, 2026
17 checks passed
@sudonatalie sudonatalie deleted the dawn-backend branch May 19, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants