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>
Tue, 29 Jul 2008 23:23:52 +0000 (17:23 -0600)
commit16dc993d4f01f6882933953115abc6ec7d93ba0b
treeb7570163c2c586997538d59f104dd41f45f2bdca
parent3d500f00d2a09becccd62abc0472090c4faa53d6
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