mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 01:30:08 +01:00
vulkan/runtime: fix incorrect assert on empty shader groups
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: e05a9b77b6 ("vulkan/runtime: split rt shaders hashing from compile")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14278
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38466>
This commit is contained in:
parent
3abb2707e2
commit
c12fa4bf8b
1 changed files with 0 additions and 3 deletions
|
|
@ -3086,8 +3086,6 @@ vk_get_rt_pipeline_compile_info(struct vk_rt_pipeline_compile_info *info,
|
|||
struct vk_rt_shader_group *lib_rt_group = &lib_rt_pipeline->groups[g];
|
||||
struct vk_rt_group_compile_info *group = &info->groups[group_index++];
|
||||
|
||||
assert(lib_rt_group->stage_count > 0);
|
||||
|
||||
*group = (struct vk_rt_group_compile_info) {
|
||||
.type = lib_rt_group->type,
|
||||
.stage_count = lib_rt_group->stage_count,
|
||||
|
|
@ -3097,7 +3095,6 @@ vk_get_rt_pipeline_compile_info(struct vk_rt_pipeline_compile_info *info,
|
|||
group->stages[s] =
|
||||
vk_pipeline_stage_from_rt_stage(&lib_rt_group->stages[s]);
|
||||
}
|
||||
assert(group->stage_count > 0);
|
||||
}
|
||||
assert(group_index <= info->group_count);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue