ir_to_mesa: Provide a restricted type size to _mesa_add_uniform.
authorEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 22:10:38 +0000 (15:10 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 22:10:38 +0000 (15:10 -0700)
commit9a670c2e9b7e07ba43d175f3bfb23951296794c4
tree07587f7d985e2825a5b6e8f79fb4e1e1ca781958
parent59c45e9e6cf80be149c6e5d94763e98312f49be2
ir_to_mesa: Provide a restricted type size to _mesa_add_uniform.

Fixes:
glsl-uniform-out-of-bounds.
src/mesa/program/ir_to_mesa.cpp