Mesa (master): gm107/ir: fix F2F flipped stype/dtype flags

Ilia Mirkin imirkin at kemper.freedesktop.org
Sat Feb 21 00:59:30 UTC 2015


Module: Mesa
Branch: master
Commit: 93ebe91baed86a63f81fa852c5e7cc0ea52ff562
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=93ebe91baed86a63f81fa852c5e7cc0ea52ff562

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Sep 26 02:38:53 2014 -0400

gm107/ir: fix F2F flipped stype/dtype flags

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 73a65fa..3e1da7e 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
@@ -731,8 +731,8 @@ CodeEmitterGM107::emitF2F()
    emitField(0x2d, 1, (insn->op == OP_NEG) || insn->src(0).mod.neg());
    emitFMZ  (0x2c, 1);
    emitRND  (0x27, rnd, 0x2a);
-   emitField(0x0a, 2, util_logbase2(typeSizeof(insn->dType)));
-   emitField(0x08, 2, util_logbase2(typeSizeof(insn->sType)));
+   emitField(0x0a, 2, util_logbase2(typeSizeof(insn->sType)));
+   emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType)));
    emitGPR  (0x00, insn->def(0));
 }
 




More information about the mesa-commit mailing list