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 <luis.strano@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19449>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user