Module: Mesa
Branch: main
Commit: 95ed0330667f726474d24d8c56e478e346622b0b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=95ed0330667f726474d24d8c56e478e346622b0b

Author: Friedrich Vock <[email protected]>
Date:   Wed Nov  2 19:52:09 2022 +0100

radv: Use spirv1.5 instead of vulkan1.2

Ubuntu 20.04 ships a glslangValidator that doesn't know about vulkan1.2 yet.

Fixes: 27186537 ("radv: Add PLOC shader")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19479>

---

 src/amd/vulkan/bvh/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/bvh/meson.build b/src/amd/vulkan/bvh/meson.build
index e01926a007b..8c5eb22d973 100644
--- a/src/amd/vulkan/bvh/meson.build
+++ b/src/amd/vulkan/bvh/meson.build
@@ -43,7 +43,7 @@ foreach s : bvh_shaders
     input : s,
     output : s + '.spv.h',
     command : [
-      prog_glslang, '-V', '-I' + bvh_include_dir, '--target-env', 'vulkan1.2', 
'-x', '-o', '@OUTPUT@', '@INPUT@'
+      prog_glslang, '-V', '-I' + bvh_include_dir, '--target-env', 'spirv1.5', 
'-x', '-o', '@OUTPUT@', '@INPUT@'
     ] + glslang_quiet,
     depend_files: bvh_includes
   )

Reply via email to