glsl: asst improvements, clean-ups in set_program_uniform()
authorBrian Paul <brianp@vmware.com>
Thu, 19 Feb 2009 00:46:00 +0000 (17:46 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 19 Feb 2009 00:48:13 +0000 (17:48 -0700)
commitc4ffbf009e76289fec53c82ce12da8de89d8b7af
tree83a2192dab4faadbafb543526c995fa5c1d3aae0
parentb9d8f717d299c388c0dd238d6315e5becd120406
glsl: asst improvements, clean-ups in set_program_uniform()

Move the is_boolean/integer_type() calls out of the loops.
Move the is_sampler_type() function near the bool/int functions.
Add a bunch of comments.
src/mesa/shader/shader_api.c