From 10c5c17bc13a021360bfe2550e2e8c3b9a539c85 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 15 Jul 2022 14:19:00 +0200 Subject: [PATCH] [meta] Build meta shaders against Vulkan 1.2 Silences some validation errors regarding layer export. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 13b1edd89..b61342331 100644 --- a/meson.build +++ b/meson.build @@ -82,7 +82,7 @@ dll_ext = '' def_spec_ext = '.def' glsl_compiler = find_program('glslangValidator') -glsl_args = [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ] +glsl_args = [ '--target-env', 'vulkan1.2', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ] if run_command(glsl_compiler, [ '--quiet', '--version' ], check : false).returncode() == 0 glsl_args += [ '--quiet' ] endif