glsl: Add link_uniform_blocks to calculate all UBO data at link-time
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 22 Jan 2013 05:59:56 +0000 (00:59 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:35 +0000 (09:07 -0500)
commit0ab7399822b480f6e07cc566a2e50fabedc8258d
tree7d108e181a656a42bfe1b66edd74505c98ab525e
parent681df909e32180774c8c64efc8e8dd03fdf9c668
glsl: Add link_uniform_blocks to calculate all UBO data at link-time

Calculate all of the block member offsets, the IndexNames, and
everything else to do with every UBO.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/link_uniform_blocks.cpp
src/glsl/linker.h