mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 09:10:40 +02:00
nvc0/ir: fix encoding of offset register into interpolation instruction
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
7f937875c0
commit
a432079400
1 changed files with 1 additions and 1 deletions
|
|
@ -1561,7 +1561,7 @@ CodeEmitterNVC0::emitINTERP(const Instruction *i)
|
|||
defId(i->def(0), 14);
|
||||
|
||||
if (i->getSampleMode() == NV50_IR_INTERP_OFFSET)
|
||||
srcId(i->src(i->op == OP_PINTERP ? 2 : 1), 17);
|
||||
srcId(i->src(i->op == OP_PINTERP ? 2 : 1), 32 + 17);
|
||||
else
|
||||
code[1] |= 0x3f << 17;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue