mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
aco/optimizer: update temp_rc when converting to uniform bool alu
Cc: mesa-stable
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30399>
(cherry picked from commit 6da7bd842c)
This commit is contained in:
parent
b2c4eb582e
commit
9185eaf12d
2 changed files with 2 additions and 1 deletions
|
|
@ -74,7 +74,7 @@
|
|||
"description": "aco/optimizer: update temp_rc when converting to uniform bool alu",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -4734,6 +4734,7 @@ to_uniform_bool_instr(opt_ctx& ctx, aco_ptr<Instruction>& instr)
|
|||
}
|
||||
|
||||
instr->definitions[0].setTemp(Temp(instr->definitions[0].tempId(), s1));
|
||||
ctx.program->temp_rc[instr->definitions[0].tempId()] = s1;
|
||||
assert(instr->operands[0].regClass() == s1);
|
||||
assert(instr->operands[1].regClass() == s1);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue