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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user