mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
vulkan: remove incorrect assert
You can have a group with 0 shaders in it.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 69a04151db ("vulkan/runtime: add ray tracing pipeline support")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13858
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37249>
This commit is contained in:
parent
e2181744c2
commit
febe90e109
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue