softpipe: fix texture sampling from 1D texture array
authorDave Airlie <airlied@redhat.com>
Sun, 18 Dec 2011 21:18:19 +0000 (21:18 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Dec 2011 11:52:47 +0000 (11:52 +0000)
commit07eeb92abcd32653c9e6f6f60689bb1d059f5799
tree72cd01b18ec002bbae1147f17278017a400b77f8
parent009ac0618ccb8c1347c353b576442ed70592c20e
softpipe: fix texture sampling from 1D texture array

This is the first part of a fix to piglit glsl-fs-shadow1DArray

also fix the passing of unused r[2] in the normal 1D case.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c