gm107/ir: indirect handle goes first on maxwell also

Fixes fs-simple-texture-size.shader_test

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit b346a84e27)
This commit is contained in:
Ilia Mirkin 2015-08-14 14:10:36 -04:00 committed by Emil Velikov
parent 20bb0a771d
commit 0a83119666

View file

@ -987,14 +987,10 @@ NVC0LoweringPass::handleTXQ(TexInstruction *txq)
txq->tex.r = 0xff;
txq->tex.s = 0x1f;
if (chipset < NVISA_GM107_CHIPSET) {
txq->setIndirectR(NULL);
txq->moveSources(0, 1);
txq->setSrc(0, hnd);
txq->tex.rIndirectSrc = 0;
} else {
txq->setIndirectR(hnd);
}
txq->setIndirectR(NULL);
txq->moveSources(0, 1);
txq->setSrc(0, hnd);
txq->tex.rIndirectSrc = 0;
}
return true;