glsl/pp: Fix handling of if/elif/else cases.
authorMichal Krol <michal@vmware.com>
Mon, 15 Feb 2010 20:33:22 +0000 (21:33 +0100)
committerMichal Krol <michal@vmware.com>
Mon, 15 Feb 2010 20:33:22 +0000 (21:33 +0100)
commitee67167358e91e9ffde8aa9e5b96e5def4c16904
tree79f0fff02f5d476999a781e6fbe050e313ba1cdf
parentb90f265fbfc5ada2dde401e003c7c294dbeb15d7
glsl/pp: Fix handling of if/elif/else cases.

Once if/elif evalutes to true, all subsequent conditions are always false.
src/glsl/pp/sl_pp_context.h
src/glsl/pp/sl_pp_if.c