summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2013-05-07 15:32:35 +0800
committerChia-I Wu <olvaffe@gmail.com>2013-05-08 10:58:53 +0800
commit80857d2c8b867f6060451c14e5aff5438f5d30f7 (patch)
treef38969dcedbc526b543d92a902485c079d36e705 /src/gallium/auxiliary/tgsi/tgsi_exec.c
parent14a0bb81fef164949aeb2ec2bcfe14fee4627eeb (diff)
downloadexternal_mesa3d-80857d2c8b867f6060451c14e5aff5438f5d30f7.zip
external_mesa3d-80857d2c8b867f6060451c14e5aff5438f5d30f7.tar.gz
external_mesa3d-80857d2c8b867f6060451c14e5aff5438f5d30f7.tar.bz2
tgsi: add tgsi_util_get_texture_coord_dim()
This util function returns the dimension of the texture coordinates for a texture target, and the location of the shadow reference value. For example, when the texture target is TGSI_TEXTURE_SHADOW2D, the dimension of the texture coordinates is 2, and the location of the ref value is 2 (that is, the Z channel). Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Acked-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.c')
0 files changed, 0 insertions, 0 deletions