Mesa (master): gk110/ir: emit texbar the same way that the blob does

Ilia Mirkin imirkin at kemper.freedesktop.org
Fri Jun 6 22:28:14 UTC 2014


Module: Mesa
Branch: master
Commit: 73eec47ef81954f7c2bf7c8bf03b300d11d05b82
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73eec47ef81954f7c2bf7c8bf03b300d11d05b82

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Jun  6 15:29:21 2014 -0400

gk110/ir: emit texbar the same way that the blob does

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Ben Skeggs <bskeggs at redhat.com>
Cc: "10.2" <mesa-stable at lists.freedesktop.org>

---

 src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
index b8d0d3e..d566c99 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
@@ -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);




More information about the mesa-commit mailing list