Add ast_function::hir
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 1 Apr 2010 01:23:21 +0000 (18:23 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 1 Apr 2010 01:23:21 +0000 (18:23 -0700)
commit92318a947958892497722772b03c643ebc943294
tree587010b36f066b2fe77dd638353d7a9b954335d6
parentacce380a3f6df56d44460c0b066b4791cc0f9732
Add ast_function::hir

ast_function::hir consists of bits pulled out of
ast_function_definition::hir.  In fact, the later uses the former to
do a lot of its processing.  Several class private data fields were
added to ast_function to facilitate communicate between the two.

This causes the following tests to pass:

    glslparsertest/shaders/CorrectModule.frag

This causes the following tests to fail.  These shaders were
previously failing to compile, but they were all failing for the wrong
reasons.

    glslparsertest/shaders/function9.frag
    glslparsertest/shaders/function10.frag
ast.h
ast_to_hir.cpp
glsl_parser_extras.cpp