gk110/ir: emit texbar the same way that the blob does
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 6 Jun 2014 19:29:21 +0000 (15:29 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 6 Jun 2014 22:25:16 +0000 (18:25 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp

index b8d0d3ed1ae19219564740a325eee8d256580d43..d566c992c4576574413d77c0536e55626cb53c97 100644 (file)
@@ -967,7 +967,7 @@ void CodeEmitterGK110::emitSELP(const Instruction *i)
 
 void CodeEmitterGK110::emitTEXBAR(const Instruction *i)
 {
-   code[0] = 0x00000002 | (i->subOp << 23);
+   code[0] = 0x0000003e | (i->subOp << 23);
    code[1] = 0x77000000;
 
    emitPredicate(i);