mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 15:30:25 +01:00
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 commit1b639a0ce5)
This commit is contained in:
parent
2981d3fa71
commit
a9a5743cd9
2 changed files with 2 additions and 2 deletions
|
|
@ -476,7 +476,7 @@
|
|||
"description": "aco/ra: fix vgpr_limit",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"because_sha": "b98a4d4dd7eaf1f299a0e8cbf5c52d8f2a93da0d"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue