mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
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:
parent
667375999c
commit
4c10bf1e6d
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue