radeonsi: fill aco shader info for part mode merged shader

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25632>
This commit is contained in:
Qiang Yu 2023-09-01 16:52:18 +08:00
parent 8cbd52f001
commit 0f23af5c0a

View file

@ -73,6 +73,9 @@ si_fill_aco_shader_info(struct si_shader *shader, struct aco_shader_info *info,
if (!info->workgroup_size)
info->workgroup_size = info->wave_size;
info->merged_shader_compiled_separately = !shader->is_gs_copy_shader &&
si_is_multi_part_shader(shader) && !shader->is_monolithic;
info->image_2d_view_of_3d = gfx_level == GFX9;
info->hw_stage = si_select_hw_stage(stage, key, gfx_level);