aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authordan sinclair <dsinclair@google.com>2019-09-17 18:31:03 -0400
committerGitHub <noreply@github.com>2019-09-17 18:31:03 -0400
commit5e6624f6bd5832aedb25e93199125d3230e660e2 (patch)
tree3e60730a1e6f4d04f97d899483700733f7f06ae2 /third_party
parentf2e192fbdb08355bc50a0930f7a1709e9c665a95 (diff)
downloadamber-5e6624f6bd5832aedb25e93199125d3230e660e2.tar.gz
Add validation layers to local build. (#651)
This CL adds the validation layers into the local vulkan build for Amber. There is a simple shell script to setup these layers when using a debug build. Fixes #539
Diffstat (limited to 'third_party')
-rw-r--r--third_party/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index 118a594..356acb1 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -62,6 +62,7 @@ if (${AMBER_USE_LOCAL_VULKAN})
set(BUILD_WSI_XLIB_SUPPORT OFF CACHE BOOL "" FORCE)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/vulkan-loader)
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/vulkan-validationlayers)
endif()
if (${AMBER_ENABLE_SWIFTSHADER})