render/vulkan: use renamed glslang binary by default
glslang 12.3.0 renamed glslangValidator to glslang, use that by default and use the old name as a fallback. References: https://github.com/KhronosGroup/glslang/blob/main/CHANGES.md?plain=1#L14
This commit is contained in:
parent
42a5b6f62a
commit
061f5fafbd
|
@ -24,7 +24,7 @@ if not cc.check_header('vulkan/vulkan.h', dependencies: dep_vulkan)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
glslang = find_program('glslangValidator', native: true, required: false)
|
glslang = find_program('glslang', 'glslangValidator', native: true, required: false)
|
||||||
if not glslang.found()
|
if not glslang.found()
|
||||||
if 'vulkan' in renderers
|
if 'vulkan' in renderers
|
||||||
error('\n'.join(msg).format('glslang'))
|
error('\n'.join(msg).format('glslang'))
|
||||||
|
|
Loading…
Reference in New Issue