glsl: Assign locations for uniforms in UBOs using the std140 rules.
authorEric Anholt <eric@anholt.net>
Tue, 1 May 2012 22:10:14 +0000 (15:10 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 20 Jul 2012 17:44:04 +0000 (10:44 -0700)
commit8ab5842a6d992956ee365c0e0232c6e6b907863e
treeefdf5b2d19a5efa149904969cb9338f2f9a01b72
parent9feb403b0eb5365889cb01ca456a19247aaad502
glsl: Assign locations for uniforms in UBOs using the std140 rules.

Fixes piglit layout-std140.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h
src/glsl/link_uniforms.cpp
src/glsl/linker.cpp
src/glsl/linker.h