st/mesa: emit sampler view decls in drawpixels code
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)
commitb3daaefadb05cdde439198a2159daf895dc7c475
tree55c9a8cad3ef7a3e762e6476c35d87267266676b
parent0f0a23d4d874a2b51a07741c11fb81f246e5298c
st/mesa: emit sampler view decls in drawpixels code

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_drawpixels.c
src/mesa/state_tracker/st_cb_drawpixels_shader.c