Implement ir_if (for if-statments) and conversion from AST
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Mar 2010 21:11:25 +0000 (14:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Mar 2010 22:17:11 +0000 (15:17 -0700)
commit3c6fea3048a0d9add2fec621d30c32f3519d8868
treec281f08097ed8365da51444c99f119cce15b0747
parent721efc04da96451297ca1defe703fe755c212baa
Implement ir_if (for if-statments) and conversion from AST

The following tests now pass:

    glslparsertest/shaders/if1.frag
    glslparsertest/shaders/if2.frag

The following tests that used to pass now fail.  It appears that most
of these fail because ast_nequal and ast_equal are not converted to HIR.

    shaders/glsl-unused-varying.frag
    shaders/glsl-fs-sqrt-branch.frag
ast.h
ast_to_hir.cpp
ir.h
ir_print_visitor.cpp
ir_print_visitor.h
ir_visitor.h