Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting Dawn as a backend #392

Open
almarklein opened this issue Oct 23, 2023 · 1 comment
Open

Supporting Dawn as a backend #392

almarklein opened this issue Oct 23, 2023 · 1 comment

Comments

@almarklein
Copy link
Member

almarklein commented Oct 23, 2023

Dawn is Google's implementation of webgpu.h. This (in theory) means that we can use the same ffi to load the dawn library. Though we now also use some wgpu-native-specific stuff via wgpu.h.

At the time of writing there are (that I know) no readily available pre-build binaries. I also don't have a clear incentive for spending time on this right now, but at some point it may get interesting.

Related issues:

@almarklein almarklein changed the title Using Dawn as a backend Supporting Dawn as a backend Nov 6, 2023
@willemkokke
Copy link

I came across this in my research: https://machengine.org/pkg/mach-gpu/

They use zig's excellent c/c++ support and build system to cross compile dawn for many plaforms and state this as a future goal:

  • Expose a standard Dawn webgpu.h-compliant C ABI, which routes through Zig comptime interfaces.

In which case that would become an excellent source of prebuilt binaries.

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

No branches or pull requests

2 participants