diff options
author | q234rty <q23456yuiop@gmail.com> | 2023-07-27 15:59:02 +0800 |
---|---|---|
committer | q234rty <q23456yuiop@gmail.com> | 2023-07-27 16:06:49 +0800 |
commit | 061f5fafbd65f71525900c3fcda45af0c2fbec00 (patch) | |
tree | 3086d41b8b1e877a90619239cab2b5fdaba7744e | |
parent | 42a5b6f62a343a8d30551067e105d99201589394 (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.build | 2 |
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')) |