glsl: don't unroll loops containing continue/break
authorBrian Paul <brianp@vmware.com>
Wed, 17 Jun 2009 19:51:35 +0000 (13:51 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Jun 2009 19:16:32 +0000 (13:16 -0600)
commit4bc74a07561eeaa97dbde55c384998ea6aa5968c
tree7cd258f0ea6e3cd8a1f6f82ff89d0ac8a1eaf196
parent625b0fe2684de462d1e7ea7fc8fcdfc8e3283949
glsl: don't unroll loops containing continue/break

Just search the AST in _slang_can_unroll_for_loop().
src/mesa/shader/slang/slang_codegen.c