Re: [Mesa-dev] [PATCH v3] glsl: handle a switch where default is in the middle of cases

2014-07-16 Thread Ian Romanick
Reviewed-by: Ian Romanick At some point we should do some significant re-work of the switch-statement handling in Mesa. The current structure makes it hard to do a lot of things (e.g., jump-tables for uniform control flow). On 07/13/2014 11:45 PM, Tapani Pälli wrote: > This fixes following test

[Mesa-dev] [PATCH v3] glsl: handle a switch where default is in the middle of cases

2014-07-13 Thread Tapani Pälli
This fixes following tests in es3conform: shaders.switch.default_not_last_dynamic_vertex shaders.switch.default_not_last_dynamic_fragment and makes following tests in Piglit pass: glsl-1.30/execution/switch/fs-default-notlast-fallthrough glsl-1.30/execution/switch/fs-default_notlast