From: Ilia Mirkin Date: Fri, 14 Aug 2015 18:10:36 +0000 (-0400) Subject: gm107/ir: indirect handle goes first on maxwell also X-Git-Tag: upstream/17.1.0~16870 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b346a84e270a50f0a8f1a6e474a51da04dd72f0e;p=platform%2Fupstream%2Fmesa.git gm107/ir: indirect handle goes first on maxwell also Fixes fs-simple-texture-size.shader_test Signed-off-by: Ilia Mirkin Cc: "10.6" --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp index c632e30..c3c302d 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp @@ -993,14 +993,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;