gk110/ir: fix wrong emission of BAR.SYNC
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 28 Feb 2016 21:38:43 +0000 (22:38 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 7 Mar 2016 17:39:43 +0000 (18:39 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp

index 8512d0d415f006fc44c790815cc9e89890162c13..0e7a23709d306e6cec163d89307f8ab377b5d2a0 100644 (file)
@@ -1273,7 +1273,6 @@ CodeEmitterGK110::emitBAR(const Instruction *i)
    case NV50_IR_SUBOP_BAR_RED_OR:   code[1] |= 0x90; break;
    case NV50_IR_SUBOP_BAR_RED_POPC: code[1] |= 0x10; break;
    default:
-      code[1] |= 0x20;
       assert(i->subOp == NV50_IR_SUBOP_BAR_SYNC);
       break;
    }