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

Author: Samuel Pitoiset <[email protected]>
Date:   Thu Sep 15 09:35:49 2022 +0200

radv: disable VK_EXT_graphics_pipeline_library with LLVM

Epilogs/prologs aren't supported at all.

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18609>

---

 src/amd/vulkan/radv_device.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index c5077221f45..02238c07d47 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -537,7 +537,8 @@ radv_physical_device_get_supported_extensions(const struct 
radv_physical_device
       .EXT_external_memory_host = device->rad_info.has_userptr,
       .EXT_global_priority = true,
       .EXT_global_priority_query = true,
-      .EXT_graphics_pipeline_library = !!(device->instance->perftest_flags & 
RADV_PERFTEST_GPL),
+      .EXT_graphics_pipeline_library = !device->use_llvm &&
+                                       !!(device->instance->perftest_flags & 
RADV_PERFTEST_GPL),
       .EXT_host_query_reset = true,
       .EXT_image_2d_view_of_3d = true,
       .EXT_image_drm_format_modifier = device->rad_info.gfx_level >= GFX9,

Reply via email to