OSDN Git Service

glsl: use Elements() in arrays instead of sentinal values
authorBrian Paul <brianp@vmware.com>
Wed, 7 Jul 2010 14:58:31 +0000 (08:58 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 7 Jul 2010 15:00:00 +0000 (09:00 -0600)
commit84a5f27b9b7745f7f0486e067684463dd89f6b4b
tree6645db43dbd8a2dc4d0b6a83028fe5b87e4e4cd7
parentc89ea8f213c272b79ba0d0492597140ea20d7693
glsl: use Elements() in arrays instead of sentinal values

The _slang_*_output_name() functions had one too many loop iterations
because of the sentinal end-of-list values in the vertOutput array.
Just use Elements() everywhere.
src/mesa/slang/slang_builtin.c