Mesa (main): meson: print information about layers being built as part of summary
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 1 17:08:04 UTC 2021
Module: Mesa
Branch: main
Commit: 7f8652d72d8171eda78a26523aca42f26a8b16b2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f8652d72d8171eda78a26523aca42f26a8b16b2
Author: Luis Felipe Strano Moraes <luis.strano at intel.com>
Date: Wed May 12 16:12:36 2021 -0700
meson: print information about layers being built as part of summary
reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11673>
---
meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meson.build b/meson.build
index 74dc4ad0743..c515f7fcacf 100644
--- a/meson.build
+++ b/meson.build
@@ -79,6 +79,7 @@ if with_tools.contains('all')
endif
with_clc = false
+with_any_vulkan_layers = get_option('vulkan-layers').length() != 0
with_intel_tools = with_tools.contains('intel') or with_tools.contains('intel-ui')
with_imgui = with_intel_tools or with_vulkan_overlay_layer
@@ -2174,6 +2175,9 @@ lines += ''
if with_any_vk
lines += 'Vulkan drivers: ' + ' '.join(_vulkan_drivers)
lines += 'Vulkan ICD dir: ' + with_vulkan_icd_dir
+ if with_any_vulkan_layers
+ lines += 'Vulkan layers: ' + ' '.join(get_option('vulkan-layers'))
+ endif
else
lines += 'Vulkan drivers: no'
endif
More information about the mesa-commit
mailing list