gallium/tgsi: pass TGSI tex target to tgsi_transform_tex_inst()
authorBrian Paul <brianp@vmware.com>
Fri, 18 Mar 2016 18:11:39 +0000 (12:11 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Mar 2016 17:59:25 +0000 (11:59 -0600)
commit63e020d734faa224dae576e2883ef39d8827fcad
tree1d9777a3869e0a8720b69a6d293a7287269719bf
parenta8b315b8271e867db30650dedb52e53d8dd9667c
gallium/tgsi: pass TGSI tex target to tgsi_transform_tex_inst()

Instead of hard-coded 2D tex target in tgsi_transform_tex_2d_inst()

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/tgsi/tgsi_transform.h
src/gallium/auxiliary/util/u_pstipple.c
src/mesa/state_tracker/st_cb_bitmap_shader.c
src/mesa/state_tracker/st_cb_drawpixels_shader.c