gm107/ir: emit LDC subops
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 15 Jul 2014 00:29:04 +0000 (20:29 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 24 Jul 2014 12:26:42 +0000 (08:26 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp

index c01a153c9402426a010e4ef40387a2079d1d4cac..bafb9cab7ca286e1d538886ef7673bb66ebd8a10 100644 (file)
@@ -2100,6 +2100,7 @@ CodeEmitterGM107::emitLDC()
 {
    emitInsn (0xef900000);
    emitLDSTs(0x30, insn->dType);
+   emitField(0x2c, 2, insn->subOp);
    emitCBUF (0x24, 0x08, 0x14, 16, 0, insn->src(0));
    emitGPR  (0x00, insn->def(0));
 }