Process ast_jump_statement into ir_loop_jump
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Apr 2010 00:13:47 +0000 (17:13 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 7 Apr 2010 18:42:36 +0000 (11:42 -0700)
commit4cf20cd37c12c6243a09d52739d3d47f030a1799
treee05cfb94c9ba1ec36ca7ecfab07b10721c5b4f0f
parent01f8de4a87157b01e8b9fe31c6766a15bbfb2788
Process ast_jump_statement into ir_loop_jump

Specifically, handle 'break' and 'continue' inside loops.

This causes the following tests to pass:

    glslparsertest/shaders/break.frag
    glslparsertest/shaders/continue.frag
ast_to_hir.cpp