Re: [Mesa-dev] [PATCH 1/4] glsl/glcpp: Alphabetize lists of start conditions

2014-07-02 Thread Kristian Høgsberg
On Tue, Jul 1, 2014 at 5:31 PM, Kenneth Graunke wrote: > On Tuesday, July 01, 2014 03:25:49 PM Carl Worth wrote: >> There is no behavioral change here. It's just easier to verify that lists >> of start conditions include all expected conditions when they appear in a >> consistent order. >> >> The

Re: [Mesa-dev] [PATCH 1/4] glsl/glcpp: Alphabetize lists of start conditions

2014-07-01 Thread Kenneth Graunke
On Tuesday, July 01, 2014 03:25:49 PM Carl Worth wrote: > There is no behavioral change here. It's just easier to verify that lists > of start conditions include all expected conditions when they appear in a > consistent order. > > The state is special, so it appears first in all lists. All other

[Mesa-dev] [PATCH 1/4] glsl/glcpp: Alphabetize lists of start conditions

2014-07-01 Thread Carl Worth
There is no behavioral change here. It's just easier to verify that lists of start conditions include all expected conditions when they appear in a consistent order. The state is special, so it appears first in all lists. All others appear in alphabetical order. --- src/glsl/glcpp/glcpp-lex.l |