glsl: Translate the AST for uniform blocks into some IR structures.
authorEric Anholt <eric@anholt.net>
Fri, 27 Apr 2012 01:21:43 +0000 (18:21 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 20 Jul 2012 17:43:19 +0000 (10:43 -0700)
commitb3c093c79c2ec49c36af37aa290d5ae452149f6e
treefc55744beeeb712309595a5302995b3a17f67856
parentf7561e8ecd80e915150ca63c0c79a5f9839c8e12
glsl: Translate the AST for uniform blocks into some IR structures.

We're going to need this structure to cross-validate the uniform
blocks between shader stages, since unused ir_variables might get
dropped.  It's also the place we store the RowMajor qualifier, which
is not part of the GLSL type (since that would cause a bunch of type
equality checks to fail).

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp
src/glsl/glsl_parser_extras.h
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/ir_clone.cpp
src/mesa/main/mtypes.h