mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
aco: do not align VGPRS to 8 or 16 on GFX11
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16369>
This commit is contained in:
parent
0cb1b12ec0
commit
52952f51cd
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ init_program(Program* program, Stage stage, const struct aco_shader_info* info,
|
|||
program->dev.sgpr_alloc_granule = 128;
|
||||
program->dev.sgpr_limit =
|
||||
108; /* includes VCC, which can be treated as s[106-107] on GFX10+ */
|
||||
if (chip_class >= GFX10_3)
|
||||
if (chip_class == GFX10_3)
|
||||
program->dev.vgpr_alloc_granule = program->wave_size == 32 ? 16 : 8;
|
||||
else
|
||||
program->dev.vgpr_alloc_granule = program->wave_size == 32 ? 8 : 4;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue