aco/ra: fix vgpr_limit

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Fixes: b98a4d4dd7 ("aco: refactor GPR limit calculation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16297>
(cherry picked from commit 1b639a0ce5)
This commit is contained in:
Rhys Perry 2022-05-03 12:13:55 +01:00 committed by Dylan Baker
parent 2981d3fa71
commit a9a5743cd9
2 changed files with 2 additions and 2 deletions

View file

@ -476,7 +476,7 @@
"description": "aco/ra: fix vgpr_limit",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"because_sha": "b98a4d4dd7eaf1f299a0e8cbf5c52d8f2a93da0d"
},
{

View file

@ -87,7 +87,7 @@ struct ra_ctx {
pseudo_dummy.reset(
create_instruction<Instruction>(aco_opcode::p_parallelcopy, Format::PSEUDO, 0, 0));
sgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves);
vgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves);
vgpr_limit = get_addr_vgpr_from_waves(program, program->min_waves);
}
};