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

Author: Samuel Pitoiset <[email protected]>
Date:   Wed Mar  1 08:08:23 2023 +0100

radv: only expose EXT_pipeline_library_group_handles if RT is enabled

VK_EXT_pipeline_library_group_handles requires
VK_KHR_ray_tracing_pipeline to be enabled.

Fixes dEQP-VK.info.device_extensions.

Fixes: ed768337050 ("radv: Implement & expose 
VK_EXT_pipeline_library_group_handles.")
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21618>

---

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

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index a252d3d3860..536b2155d80 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -631,7 +631,7 @@ radv_physical_device_get_supported_extensions(const struct 
radv_physical_device
 #endif
       .EXT_pipeline_creation_cache_control = true,
       .EXT_pipeline_creation_feedback = true,
-      .EXT_pipeline_library_group_handles = true,
+      .EXT_pipeline_library_group_handles = radv_enable_rt(device, true),
       .EXT_post_depth_coverage = device->rad_info.gfx_level >= GFX10,
       .EXT_primitive_topology_list_restart = true,
       .EXT_primitives_generated_query = true,

Reply via email to