tgsi: add buffer texture to tgsi_util_get_texture_coord_dim()
authorChia-I Wu <olvaffe@gmail.com>
Thu, 23 May 2013 05:24:55 +0000 (13:24 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 27 May 2013 03:02:06 +0000 (11:02 +0800)
commit441aa9326a2c7b575f833ed18e97f3ce70844b25
tree1a4de3de9c652fdeea031e9ab07454178a3fb013
parent63d09a0cb74f75e7e09773d560a22452c107647f
tgsi: add buffer texture to tgsi_util_get_texture_coord_dim()

TGSI_TEXTURE_BUFFER is one-dimensional.  Assert that exec_tex() is never
called with TGSI_TEXTURE_BUFFER.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/tgsi/tgsi_util.c