glsl: use _slang_loop_contains_continue_or_break() to check for unrolling
authorBrian Paul <brianp@vmware.com>
Tue, 23 Jun 2009 16:57:59 +0000 (10:57 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Jun 2009 19:16:32 +0000 (13:16 -0600)
commit38ddbc5588a9922854e9191cda42d37cb01e70aa
tree5fa1644f81307c252e6781e54867c403a22df7c2
parent4dafac2b2f850caba8e1a5982aca60a7d509fde6
glsl: use _slang_loop_contains_continue_or_break() to check for unrolling

The previous test failed for nested loops.
src/mesa/shader/slang/slang_codegen.c