mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Add the Vulkan loader as an optional dependency and use it on Mac
On macOS we can't rely on having the Vulkan loader installed in the system. So we add the Vulkan loader as an optional dependency of Dawn and use it on macOS when building Dawn in standalone with Vulkan support. Usage of building our own loader might broaden if the loader gains features that are useful on other OSes. For example the ability to pass in the "root ICD" entrypoint to the loader so we can have both Swiftshader and the system driver at the same time. Bug: dawn:388 Change-Id: I7ade4961cce0463c66846ad17aebf95224f1afcc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19723 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
53f694b34a
commit
0925720ecb
1
.gitignore
vendored
1
.gitignore
vendored
@@ -23,6 +23,7 @@ third_party/swiftshader/
|
||||
third_party/spirv-cross/
|
||||
third_party/spirv-headers/
|
||||
third_party/vulkan-headers/
|
||||
third_party/vulkan-loader/
|
||||
third_party/vulkan-validation-layers/
|
||||
tools
|
||||
out
|
||||
|
||||
Reference in New Issue
Block a user