mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
aco: workaround Tonga/Iceland hardware bug
The workaround got accidentally moved to the wrong place Fixes:08d510010baco: increase accuracy of SGPR limits Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commita47e232ccd)
This commit is contained in:
parent
3211308e88
commit
0aef18324a
1 changed files with 5 additions and 5 deletions
|
|
@ -1263,14 +1263,14 @@ setup_isel_context(Program* program,
|
|||
} else if (program->chip_class >= GFX8) {
|
||||
program->physical_sgprs = 800;
|
||||
program->sgpr_alloc_granule = 15;
|
||||
program->sgpr_limit = 102;
|
||||
} else {
|
||||
program->physical_sgprs = 512;
|
||||
program->sgpr_alloc_granule = 7;
|
||||
if (options->family == CHIP_TONGA || options->family == CHIP_ICELAND)
|
||||
program->sgpr_limit = 94; /* workaround hardware bug */
|
||||
else
|
||||
program->sgpr_limit = 104;
|
||||
program->sgpr_limit = 102;
|
||||
} else {
|
||||
program->physical_sgprs = 512;
|
||||
program->sgpr_alloc_granule = 7;
|
||||
program->sgpr_limit = 104;
|
||||
}
|
||||
/* TODO: we don't have to allocate VCC if we don't need it */
|
||||
program->needs_vcc = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue