glsl2: Add support for the .length() method on arrays.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 18 Jul 2010 05:50:26 +0000 (22:50 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Jul 2010 00:13:17 +0000 (17:13 -0700)
commit094cf8c199930d958d9e1139467eb8579d082df6
tree0c3fba1bcc3291262cdcb1860985bacf239a4354
parent1036a7ebae2da03efd1b990037b6fd102d4cc5ca
glsl2: Add support for the .length() method on arrays.

Fixes piglit test glsl-array-length, and provides proper error messages
for negative piglit tests array-length-110.frag, array-length-unsized.frag,
and array-length-args.frag.
src/glsl/hir_field_selection.cpp