summaryrefslogtreecommitdiffstats
path: root/src/glx/compsize.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-07 14:50:02 +0800
committerChia-I Wu <[email protected]>2013-05-08 11:00:07 +0800
commit61d57ec2768fde57cb3926d6757044593d6e9a08 (patch)
treead7187bbf33cebf867034a76d87f25fec5a575c9 /src/glx/compsize.c
parent80857d2c8b867f6060451c14e5aff5438f5d30f7 (diff)
tgsi: clean up exec_tex()
Make use of tgsi_util_get_texture_coord_dim() to replace the big switch table. There is a subtle difference with this change. When TXP is used with an array texture, the layer is now also projected. This behavior matches the TGSI doc. Since GLSL does not allow TXP on an array texture, I am not sure which behavior is correct or preferred. Signed-off-by: Chia-I Wu <[email protected]> Acked-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/glx/compsize.c')
0 files changed, 0 insertions, 0 deletions