freedreno/ir3: fix TXB/TXL to actually pull the bias/lod argument
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 16 Sep 2014 06:09:49 +0000 (02:09 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 23 Sep 2014 02:06:34 +0000 (22:06 -0400)
commit9a3dcf21d7ba116d670aad428ccce415eebdf645
tree963cbc41865505bd3889abe6bc1a03ed77e61f65
parent53678f5e6b4964136c04694aea771b1d433c8fab
freedreno/ir3: fix TXB/TXL to actually pull the bias/lod argument

Previously we would get a potentially computed post-swizzle coord based
on the texture target info, which would not include the bias/lod in the
last argument.

The second argument does not have to be adjacent, so adjusting the order
array did not make sense.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler.c