glsl: Calculate UBO data at link-time
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 22 Jan 2013 06:09:16 +0000 (01:09 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:36 +0000 (09:07 -0500)
commit514f8c7ec7cc1ab18be93cebb5b9bf970b1955a9
tree7dd462bc3360ff2fced2186fc65550ccb6603fda
parent0ab7399822b480f6e07cc566a2e50fabedc8258d
glsl: Calculate UBO data at link-time

Use the function added in the previous commit.

This temporarily causes gles3conform
uniform_buffer_object_index_of_not_active_block,
uniform_buffer_object_inherit_and_override_layouts, and
uniform_buffer_object_repeat_global_scope_layouts to assertion fail.
This is fixed in the next commit.

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