st/xa: Make sure unused samplers are set to NULL
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 7 Apr 2014 20:42:25 +0000 (13:42 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 8 Apr 2014 05:34:10 +0000 (22:34 -0700)
commit47f60cbb7197bd9f8bb27ca3a2b160e8a563619a
tree4f6225d144e01d4da57575cacc60abecea6ae940
parente5d2c5b89944007d69347fd419789312be573d0c
st/xa: Make sure unused samplers are set to NULL

renderer_copy_prepare was setting the first sampler but never telling
the cso code how many samplers were actually used. Fix this.

Cc: "10.1" <mesa-stable@freedesktop.org>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/xa/xa_renderer.c