Mesa (master): gm107/ir: fix bit offset of tex lod setting for indirect texturing
Ilia Mirkin
imirkin at kemper.freedesktop.org
Tue Oct 18 14:01:31 UTC 2016
Module: Mesa
Branch: master
Commit: 8c78fdb328c8a8ea7c7c3cdd0e745f06938cd0ff
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c78fdb328c8a8ea7c7c3cdd0e745f06938cd0ff
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Tue Oct 18 00:21:13 2016 -0400
gm107/ir: fix bit offset of tex lod setting for indirect texturing
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Cc: mesa-stable at lists.freedesktop.org
---
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
index 3fedafd..5ed2ad4 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
@@ -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);
More information about the mesa-commit
mailing list