gm107/ir: fix DSET boolean float flag
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Sep 2014 06:35:51 +0000 (02:35 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 21 Feb 2015 00:30:27 +0000 (19:30 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp

index 9f4c43537dab8a19db2a8d49135e00789910f08f..73a65fadf913f277cc259d5efc7d16664a0f24f1 100644 (file)
@@ -1060,6 +1060,7 @@ CodeEmitterGM107::emitDSET()
 
    emitABS  (0x36, insn->src(0));
    emitNEG  (0x35, insn->src(1));
+   emitField(0x34, 1, insn->dType == TYPE_F32);
    emitCond4(0x30, insn->setCond);
    emitCC   (0x2f);
    emitABS  (0x2c, insn->src(1));