mesa: gls: fix broken else clause of conditional break/continue
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Jul 2008 21:49:09 +0000 (15:49 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Jul 2008 21:49:09 +0000 (15:49 -0600)
commit7b2ef2b8849bbf400eeed9642c26c140cc7d6beb
tree88dc1298d62429871fe0f66cea6b5ffca66b1224
parent643228c506bde965c890f3d0604c273fc729bee7
mesa: gls: fix broken else clause of conditional break/continue

In the following case:

   for () {
      if (cond)
         break;  // or continue;
      else
         something;
   }

The "something" block didn't get emitted.
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_emit.c