mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 00:10:25 +01:00
nvc0/ir: fix predicated PFETCH for real
Commit a9d08a250 accidentally didn't make use of the new src1 variable.
Use it.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
This commit is contained in:
parent
db269ae495
commit
33f0d1138d
2 changed files with 2 additions and 2 deletions
|
|
@ -1336,7 +1336,7 @@ CodeEmitterGK110::emitPFETCH(const Instruction *i)
|
|||
const int src1 = (i->predSrc == 1) ? 2 : 1; // if predSrc == 1, !srcExists(2)
|
||||
|
||||
defId(i->def(0), 2);
|
||||
srcId(i, 1, 10);
|
||||
srcId(i, src1, 10);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -1498,7 +1498,7 @@ CodeEmitterNVC0::emitPFETCH(const Instruction *i)
|
|||
const int src1 = (i->predSrc == 1) ? 2 : 1; // if predSrc == 1, !srcExists(2)
|
||||
|
||||
defId(i->def(0), 14);
|
||||
srcId(i, 1, 20);
|
||||
srcId(i, src1, 20);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue