diff --git a/.pick_status.json b/.pick_status.json index 95cf5d10f3d..d9e8aa73272 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -476,7 +476,7 @@ "description": "aco/ra: fix vgpr_limit", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "because_sha": "b98a4d4dd7eaf1f299a0e8cbf5c52d8f2a93da0d" }, { diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp index 459e232be99..5a84f046ce9 100644 --- a/src/amd/compiler/aco_register_allocation.cpp +++ b/src/amd/compiler/aco_register_allocation.cpp @@ -87,7 +87,7 @@ struct ra_ctx { pseudo_dummy.reset( create_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); } };