Add validation layer support.

Change-Id: I74bd02180d01504faf6f22e9c2b8c4de179e46f8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269510
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
John Rosasco 2020-02-07 17:46:58 -08:00 committed by Skia Commit-Bot
parent 6b552161a8
commit 7475ac0d37

View File

@ -47,6 +47,7 @@ group("base_manifest") {
sdk_dist_path = rebase_path("${fuchsia_sdk_path}/arch/${target_cpu}/dist")
sdk_sysroot_dist_path =
rebase_path("${fuchsia_sdk_path}/arch/${target_cpu}/sysroot/dist/lib")
layer_path = rebase_path("${fuchsia_sdk_path}/pkg/vulkan_layers")
skqp_component_manifest = rebase_path("//build/fuchsia/skqp/skqp.cmx")
@ -74,7 +75,6 @@ group("base_manifest") {
"lib/libunwind.so.1=${clang_path}/libunwind.so.1",
# Shared Libs (sdk dist)
"lib/libvulkan.so=${sdk_dist_path}/libvulkan.so",
"lib/libasync-default.so=${sdk_dist_path}/libasync-default.so",
"lib/libfdio.so=${sdk_dist_path}/libfdio.so",
"lib/libtrace-engine.so=${sdk_dist_path}/libtrace-engine.so",
@ -84,6 +84,9 @@ group("base_manifest") {
# Vulkan ICD / Validation / Loader
"lib/libvulkan.so=${sdk_dist_path}/libvulkan.so",
"lib/VkLayer_khronos_validation.so=${sdk_dist_path}/VkLayer_khronos_validation.so",
"data/vulkan/explicit_layer.d/VkLayer_khronos_validation.json=${layer_path}/data/vulkan/explicit_layer.d/VkLayer_khronos_validation.json"
]
# TODO(rosasco): Add 2 lines when generated_file() switch is implemented