glsl: Allow .length() method on vectors and matrices.
authorMatt Turner <mattst88@gmail.com>
Mon, 20 May 2013 16:18:01 +0000 (09:18 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 14 Jun 2013 18:25:49 +0000 (11:25 -0700)
commita8492e8fe7e70c558a494da7fa2fb4a05dc51962
treeab5d0393e2201ba151df216b290943a72ac874f6
parentcf7f424e18485edff381ad687201c6914bfc7ea5
glsl: Allow .length() method on vectors and matrices.

Required by ARB_shading_language_420pack.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/hir_field_selection.cpp