glsl: Move get_{column,element} to expression args.
authorEric Anholt <eric@anholt.net>
Fri, 24 Jun 2011 19:16:03 +0000 (12:16 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jun 2011 22:09:27 +0000 (15:09 -0700)
commita47fd5c27de2b2d61776faa524f9b7ab1c915cde
treefce0b62872cfdc6dea9712268f8b11b07b5a97a9
parente75b5954db52723a8590cd321b1998a079e9c1d4
glsl: Move get_{column,element} to expression args.

I think this makes the code more obvious by moving the declarations to
their single usage (now that we aren't using them to get at the ->type
field for expression constructors).

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