glslang: check for renamed bin

In version 12.3.0 glslangValidator was renamed to glslang.
This commit checks for both the old glslangValidator name and the new glslang
This commit is contained in:
FlightlessMango 2023-08-09 06:51:11 +02:00 committed by Simon Ser
parent 540323ac37
commit 1e180d7195

View file

@ -40,7 +40,7 @@ foreach feat : required_wlroots_features
endif
endforeach
glsl_compiler = find_program('glslangValidator', native: true)
glsl_compiler = find_program('glslang', 'glslangValidator', native: true)
# Use --depfile to rebuild shaders when included files have changed. Sadly debian based
# distros don't have up-to-date glslang so we need to check for support first.