gm107/ir: fix texturing with indirect samplers
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 18 Oct 2016 03:47:48 +0000 (23:47 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 18 Oct 2016 13:56:14 +0000 (09:56 -0400)
commitecea2f69ef8c07bd7b08f659b214a83f64ea2daa
treee943577c8a7fae036eb174471f20c81b300720a3
parent34099894c367a11c0009679b56681d5a38af5792
gm107/ir: fix texturing with indirect samplers

The indirect handle has to come right after the coordinates, so if there
was a sample/bias/depth compare/offset, everything would end up being
shifted by one argument position.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp