From ae30c6c375a43ee37a50ae0858c282072bcead61 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 1 Nov 2022 13:35:24 -0700 Subject: [PATCH] meson: prog_glslang should always be for the build machine It doesn't produce different code when compiled for the host machine, and this avoids needing two copies and possibly a host machine emulator in cross compilation settings Reviewed-by: Luis Felipe Strano Moraes Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 3e46cd50deb..6ecfc1c3088 100644 --- a/meson.build +++ b/meson.build @@ -686,7 +686,7 @@ if vdpau_drivers_path == '' endif if with_vulkan_overlay_layer or with_aco_tests or with_amd_vk - prog_glslang = find_program('glslangValidator') + prog_glslang = find_program('glslangValidator', native : true) if run_command(prog_glslang, [ '--quiet', '--version' ], check : false).returncode() == 0 glslang_quiet = ['--quiet'] else