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

Closed
opened 2022-09-02 17:52:13 +00:00 by emidoots · 1 comment
emidoots commented 2022-09-02 17:52:13 +00:00 (Migrated from github.com)

Dawn must be built with Wayland support, right now defaulting to x11 only: github.com/hexops/mach-gpu-dawn@62d4583994/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.

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: <img width="1076" alt="image" src="https://user-images.githubusercontent.com/3173176/188210037-2419e851-da0e-41c6-ac01-df2f018c6322.png"> Once we have this, we should be able to build Dawn with Wayland support by default and then #376 should be possible.
emidoots commented 2023-01-12 17:54:43 +00:00 (Migrated from github.com)

#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

#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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#511
No description provided.