ttn: add TEX2 support
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 20 Nov 2015 21:51:07 +0000 (16:51 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 20 Nov 2015 22:45:08 +0000 (17:45 -0500)
commit4fd24caf92fc995e4a730181e0f179a7f2218e60
tree3da1342bd1e31408090cf89948ce3111a0a7bfe8
parentc1babbd85c4069d9d9b319d5ca95a614039ba609
ttn: add TEX2 support

This fixes CubeArrayShadow tests (where the shadow comes in via a second
arg to the TEX2 instruction).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/auxiliary/nir/tgsi_to_nir.c