mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Make the Vulkan Validation Layers an optional dependency.
The build_overrides directory for the VVL will default to "" which causes support for them to be skipped if the dependents don't set the dawn_vulkan_validation_layers_dir variable. Bug: chromium:1064305 Change-Id: I0a31f5d1d55982b5c953ce8ac6542d38829eedb5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19085 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Zhenyao Mo <zmo@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
7119a0278d
commit
d9d9d1ec73
@@ -62,6 +62,7 @@ if (!defined(dawn_swiftshader_dir)) {
|
||||
dawn_swiftshader_dir = ""
|
||||
}
|
||||
|
||||
if (!defined(dawn_vulkan_validaion_layers_dir)) {
|
||||
dawn_vulkan_validaion_layers_dir = "//third_party/vulkan-validation-layers"
|
||||
if (!defined(dawn_vulkan_validation_layers_dir)) {
|
||||
# Default to VVLs not being available.
|
||||
dawn_vulkan_validation_layers_dir = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user