mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
r300: fix translate_LRP
This was broken by 7daba1fe65
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14596>
This commit is contained in:
parent
e6b60c2764
commit
5e2834754e
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ static void transform_LRP(struct radeon_compiler* c,
|
|||
{
|
||||
struct rc_dst_register dst = try_to_reuse_dst(c, inst);
|
||||
|
||||
emit3(c, inst->Prev, RC_OPCODE_ADD, NULL,
|
||||
emit3(c, inst->Prev, RC_OPCODE_MAD, NULL,
|
||||
dst,
|
||||
negate(inst->U.I.SrcReg[0]), inst->U.I.SrcReg[2], inst->U.I.SrcReg[2]);
|
||||
emit3(c, inst->Prev, RC_OPCODE_MAD, &inst->U.I,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue