mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radeonsi: use correct wave size in gfx10_ngg_calculate_subgroup_info
Fixes:88efb63caf("radeonsi/gfx10: implement Wave32") Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6137> (cherry picked from commitb6fb09fd84)
This commit is contained in:
parent
2c898a8f3f
commit
a4dfa2bdf8
2 changed files with 2 additions and 2 deletions
|
|
@ -3766,7 +3766,7 @@
|
|||
"description": "radeonsi: use correct wave size in gfx10_ngg_calculate_subgroup_info",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "88efb63cafcf249a370ee27683c41afde3b95ffd"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1990,7 +1990,7 @@ void gfx10_ngg_calculate_subgroup_info(struct si_shader *shader)
|
|||
|
||||
/* Round up towards full wave sizes for better ALU utilization. */
|
||||
if (!max_vert_out_per_gs_instance) {
|
||||
const unsigned wavesize = gs_sel->screen->ge_wave_size;
|
||||
const unsigned wavesize = si_get_shader_wave_size(shader);
|
||||
unsigned orig_max_esverts;
|
||||
unsigned orig_max_gsprims;
|
||||
do {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue