st/mesa: emit sampler view declaration in bitmap shader
authorBrian Paul <brianp@vmware.com>
Thu, 17 Mar 2016 00:43:00 +0000 (18:43 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Mar 2016 17:59:25 +0000 (11:59 -0600)
commit0f0a23d4d874a2b51a07741c11fb81f246e5298c
treea86e230f5bf066ca87afe293c12d41b225220d67
parent72eb5a3cfe29eabdd0a2386642b36f9648a911fc
st/mesa: emit sampler view declaration in bitmap shader

In June 2015, Rob Clark started updating the tgsi utility code to emit
SVIEW declarations in various shaders (for polygon stipple, blitting,
etc).  These patches do the same for the Mesa state tracker.

The VMware driver will use this.

v2: support both TGSI_TEXTURE_2D and _RECT

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/mesa/state_tracker/st_cb_bitmap_shader.c