mirror of https://gitlab.freedesktop.org/mesa/mesa
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:
parent
9a85d2ed98
commit
ae30c6c375
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue