dawn-cmake/src
Corentin Wallez fb0bf70459 Vulkan: Fallback to XCB for Xlib surfaces
Chromium builds the Vulkan loader without support Xlib (because it
prefers XCB) which caused Xlib wgpu::SwapChain creation to fail on the
Vulkan backend.

This CL adds a fallback to use VK_KHR_xcb_surface if VK_KHR_xlib_surface
isn't present.

Bug: dawn:662
Change-Id: I0e0128ee6b5c75da03998dbae231d17e48bacc81
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/41180
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
2021-02-09 20:24:42 +00:00
..
common Vulkan: Fallback to XCB for Xlib surfaces 2021-02-09 20:24:42 +00:00
dawn Reland "Add a per-thread proc table using thread local storage" 2020-10-06 16:13:42 +00:00
dawn_native Vulkan: Fallback to XCB for Xlib surfaces 2021-02-09 20:24:42 +00:00
dawn_platform Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00
dawn_wire Remove deprecated Wire APIs 2021-02-05 23:36:30 +00:00
fuzzers Remove deprecated Wire APIs 2021-02-05 23:36:30 +00:00
include Remove deprecated Wire APIs 2021-02-05 23:36:30 +00:00
tests Skip testing of SNORM formats where non-readable. 2021-02-09 20:24:04 +00:00
utils Fix compilation using CMake on Linux 2021-02-09 16:13:51 +00:00
Dummy.cpp Add missed file for the CMake build. 2020-02-07 23:46:30 +00:00