mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 14:00:16 +01:00
gm107/ir: fix indirect txq emission
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: mesa-stable@lists.freedesktop.org
This commit is contained in:
parent
346ce0b988
commit
8c8a71f0d1
1 changed files with 8 additions and 2 deletions
|
|
@ -2441,8 +2441,14 @@ CodeEmitterGM107::emitTXQ()
|
|||
break;
|
||||
}
|
||||
|
||||
emitInsn (0xdf4a0000);
|
||||
emitField(0x24, 13, insn->tex.r);
|
||||
if (insn->tex.rIndirectSrc >= 0) {
|
||||
emitInsn (0xdf500000);
|
||||
} else {
|
||||
emitInsn (0xdf480000);
|
||||
emitField(0x24, 13, insn->tex.r);
|
||||
}
|
||||
|
||||
emitField(0x31, 1, insn->tex.liveOnly);
|
||||
emitField(0x1f, 4, insn->tex.mask);
|
||||
emitField(0x16, 6, type);
|
||||
emitGPR (0x08, insn->src(0));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue