nvc0/ir: offset appears to come before the Z ref
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 27 Apr 2014 00:29:47 +0000 (20:29 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 29 Apr 2014 00:32:36 +0000 (20:32 -0400)
commitf782d6e792db2ed7773a2d22866dbcdb1e4062ee
tree0849af3cdb2182af7d814e3cd4c6af2e78f69845
parent50034c017125b9538cd1e88b7344574da5bf3c9a
nvc0/ir: offset appears to come before the Z ref

Fixes textureGatherOffset when used with a shadow sampler. Also verified
against blob compiler with textureLodOffset manually (no piglit tests
for texture[Lod]Offset + shadow samplers).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp