mesa: Track the packing mode of a UBO in gl_uniform_buffer
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 13 Dec 2012 10:13:30 +0000 (02:13 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:33 +0000 (09:07 -0500)
commit9a971ab695d8f3c58a5fb0f359443b6b053f0b97
treed670b9613cc3b0089c7095e81ee4784e88387627
parentecfb404e8d4fcd35524d1c4b3421e24980fe3976
mesa: Track the packing mode of a UBO in gl_uniform_buffer

This allows the next patch to verify that two uniform blocks match
without first calculating the locations of the fields.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp
src/mesa/main/mtypes.h