tgsi: pass zero vector to texture sampler for 1D case instead of NULL
authorBrian Paul <brianp@vmware.com>
Thu, 26 Mar 2009 14:40:07 +0000 (08:40 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 26 Mar 2009 14:40:07 +0000 (08:40 -0600)
commit3673189326e348eb91e354017703fdfd9d6d8184
tree0d365550618c32512977f75054e2ac1f2407b384
parenta2f52f500cdff2ffd5aec039cafaaa3bc2273595
tgsi: pass zero vector to texture sampler for 1D case instead of NULL

Fixes segfault when sampling 1D textures.
src/gallium/auxiliary/tgsi/tgsi_exec.c