nv50/ir: make sure that texprep/texquerylod's args get coalesced
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 13 May 2014 05:31:20 +0000 (01:31 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 18 May 2014 21:59:16 +0000 (17:59 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp

index cbf0dd2119dfa1edbd2682ae5432d289145fc89c..e4f56b140da008b4d5d5bc7c9a1663cd338420d0 100644 (file)
@@ -1000,7 +1000,9 @@ GCRA::doCoalesce(ArrayList& insns, unsigned int mask)
       case OP_TXQ:
       case OP_TXD:
       case OP_TXG:
+      case OP_TXLQ:
       case OP_TEXCSAA:
+      case OP_TEXPREP:
          if (!(mask & JOIN_MASK_TEX))
             break;
          for (c = 0; insn->srcExists(c) && c != insn->predSrc; ++c)