summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/codegen
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-09-26 02:38:53 -0400
committerIlia Mirkin <[email protected]>2015-02-20 19:30:27 -0500
commit93ebe91baed86a63f81fa852c5e7cc0ea52ff562 (patch)
tree61bf6db08167c691a1c6e0b811b41ec3998c9f32 /src/gallium/drivers/nouveau/codegen
parentdbf4a674b94fc8fca21997f8145b96bcf2f7a260 (diff)
gm107/ir: fix F2F flipped stype/dtype flags
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp4
1 files 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 73a65fadf91..3e1da7ec084 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));
}