From febe90e10924d805bf37ae6e9814748d6af73193 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 9 Sep 2025 10:50:48 +0300 Subject: [PATCH] vulkan: remove incorrect assert You can have a group with 0 shaders in it. Signed-off-by: Lionel Landwerlin Fixes: 69a04151db ("vulkan/runtime: add ray tracing pipeline support") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13858 Reviewed-by: Faith Ekstrand Part-of: --- src/vulkan/runtime/vk_pipeline.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vulkan/runtime/vk_pipeline.c b/src/vulkan/runtime/vk_pipeline.c index ff05fd7b813..dffa874dd3f 100644 --- a/src/vulkan/runtime/vk_pipeline.c +++ b/src/vulkan/runtime/vk_pipeline.c @@ -3046,7 +3046,6 @@ vk_create_rt_pipeline(struct vk_device *device, .shader = vk_shader_ref(group_stages[s].shader), }; } - assert(group->stage_count > 0); qsort(group->stages, group->stage_count, sizeof(*group->stages), cmp_vk_rt_pipeline_stages);