mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
gm107/ir: fix bit offset of tex lod setting for indirect texturing
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Cc: mesa-stable@lists.freedesktop.org
This commit is contained in:
parent
ecea2f69ef
commit
8c78fdb328
1 changed files with 1 additions and 1 deletions
|
|
@ -2560,7 +2560,7 @@ CodeEmitterGM107::emitTEX()
|
|||
|
||||
if (insn->tex.rIndirectSrc >= 0) {
|
||||
emitInsn (0xdeb80000);
|
||||
emitField(0x35, 2, lodm);
|
||||
emitField(0x25, 2, lodm);
|
||||
emitField(0x24, 1, insn->tex.useOffsets == 1);
|
||||
} else {
|
||||
emitInsn (0xc0380000);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue