glsl: Refactor out processing of structure fields
authorIan Romanick <ian.d.romanick@intel.com>
Sun, 9 Dec 2012 01:38:30 +0000 (17:38 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:33 +0000 (09:07 -0500)
commit51f740cd5ada5242b27928e0dcfd662f48820342
treef22efe9c44910e630bdbde5d4dcf7e9de35a1533
parenta39a70c8d41d2758d6909a68a5b9163b81f4b003
glsl: Refactor out processing of structure fields

This will soon also be used for processing interface block fields.

v2: Add a comment explaining the interface of
ast_process_structure_or_interface_block.  Suggested by Paul Berry.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Carl Worth <cworth@cworth.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp