aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorq234rty <q23456yuiop@gmail.com>2023-07-27 15:59:02 +0800
committerq234rty <q23456yuiop@gmail.com>2023-07-27 16:06:49 +0800
commit061f5fafbd65f71525900c3fcda45af0c2fbec00 (patch)
tree3086d41b8b1e877a90619239cab2b5fdaba7744e
parent42a5b6f62a343a8d30551067e105d99201589394 (diff)
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
-rw-r--r--render/vulkan/meson.build2
1 files changed, 1 insertions, 1 deletions
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'))