From 061f5fafbd65f71525900c3fcda45af0c2fbec00 Mon Sep 17 00:00:00 2001 From: q234rty Date: Thu, 27 Jul 2023 15:59:02 +0800 Subject: [PATCH] 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 --- render/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/vulkan/meson.build b/render/vulkan/meson.build index b08e4f3c..36a822f9 100644 --- a/render/vulkan/meson.build +++ b/render/vulkan/meson.build @@ -24,7 +24,7 @@ if not cc.check_header('vulkan/vulkan.h', dependencies: dep_vulkan) endif endif -glslang = find_program('glslangValidator', native: true, required: false) +glslang = find_program('glslang', 'glslangValidator', native: true, required: false) if not glslang.found() if 'vulkan' in renderers error('\n'.join(msg).format('glslang'))