radeonsi: fill aco_shader_info->is_monolithic

Fixes: 80177e0296 ("aco: add support for compiling VS+TCS separately on GFX9+")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24944>
This commit is contained in:
Qiang Yu 2023-08-29 14:49:00 +08:00 committed by Marge Bot
parent 667375999c
commit 4c10bf1e6d

View file

@ -72,6 +72,11 @@ si_fill_aco_shader_info(struct si_shader *shader, struct aco_shader_info *info,
if (!info->workgroup_size)
info->workgroup_size = info->wave_size;
/* is_monolithic is false when merged shader parts compiled separately, we'd better
* change the name to is_separately_compiled_merged_shader
*/
info->is_monolithic = true;
info->image_2d_view_of_3d = gfx_level == GFX9;
info->hw_stage = si_select_hw_stage(stage, key, gfx_level);