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

gpu-dawn: build with Wayland support by default; send CL to Dawn for runtime Wayland support #511

Closed
emidoots opened this issue Sep 2, 2022 · 1 comment
Labels
Milestone

Comments

@emidoots
Copy link
Member

emidoots commented Sep 2, 2022

Dawn must be built with Wayland support, right now defaulting to x11 only: https://github.com/hexops/mach-gpu-dawn/blob/62d45839942e624d08dfa6367e8bddeb8d52c8ed/sdk.zig#L12-L13

I proposed to the Dawn developers at Google we allow for Dawn to detect X11/Wayland at runtime, similar to how GLFW does it. They agreed, I need to send a CL for it:

image

Once we have this, we should be able to build Dawn with Wayland support by default and then #376 should be possible.

@emidoots
Copy link
Member Author

#669 discovered we don't actually need to do much here, the little we did need to patch Ali sent for us upstream to Google: https://dawn-review.googlesource.com/c/dawn/+/116922

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant