meson: only require glslang >= 12.2 when anv/radv/turnip are built
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37444>
This commit is contained in:
committed by
Marge Bot
parent
de8c297e0b
commit
bbb76517ee
@@ -276,8 +276,14 @@ vulkan_runtime_deps = [
|
||||
]
|
||||
|
||||
if prog_glslang.found()
|
||||
subdir('radix_sort')
|
||||
subdir('bvh')
|
||||
if with_bvh
|
||||
subdir('radix_sort')
|
||||
vulkan_runtime_files += radix_sort_files
|
||||
vulkan_runtime_files += radix_sort_spv
|
||||
subdir('bvh')
|
||||
vulkan_runtime_files += files('vk_acceleration_structure.c')
|
||||
vulkan_runtime_files += bvh_spv
|
||||
endif
|
||||
vulkan_runtime_files += files('vk_texcompress_astc.c')
|
||||
vulkan_runtime_files += custom_target(
|
||||
'astc_spv.h',
|
||||
@@ -289,10 +295,6 @@ if prog_glslang.found()
|
||||
],
|
||||
depfile : 'astc_spv.h.d',
|
||||
)
|
||||
vulkan_runtime_files += files('vk_acceleration_structure.c')
|
||||
vulkan_runtime_files += radix_sort_files
|
||||
vulkan_runtime_files += bvh_spv
|
||||
vulkan_runtime_files += radix_sort_spv
|
||||
endif
|
||||
|
||||
libvulkan_runtime = static_library(
|
||||
|
||||
Reference in New Issue
Block a user