glsl: asst. clean-ups in set_program_uniform()
authorBrian Paul <brianp@vmware.com>
Wed, 26 Aug 2009 20:35:45 +0000 (14:35 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Aug 2009 20:35:45 +0000 (14:35 -0600)
commit6df38e6f5a6d8f0b86928cb2b52c09d1fbe6bbff
tree4d3e7ee0378eb5a9f7309514d0b3a76b6487f972
parent72052210516b4cb0e082e0c56822cd33b1562630
glsl: asst. clean-ups in set_program_uniform()

Remove redunant type check for samplers (assert instead).
Move some local vars.  Update comments.
src/mesa/shader/shader_api.c