glsl: Align GL_UNIFORM_BLOCK_DATA_SIZE according to std140 rules.
authorEric Anholt <eric@anholt.net>
Wed, 25 Jul 2012 19:45:13 +0000 (12:45 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 20:54:51 +0000 (13:54 -0700)
commite45f1b11c081a7b965bf58539d2dbcc231d543f4
tree5a3f2ba1dd48d719c7d6948843582154b6ad3b09
parent86e0045578cd8d8be7736a8f56e2b51d61bda32a
glsl: Align GL_UNIFORM_BLOCK_DATA_SIZE according to std140 rules.

Fixes piglit GL_ARB_uniform_buffer_object/data-size test.

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