Re: [Mesa-dev] [PATCH 05/16] glsl: Change to using switch-case in get_range

2014-11-19 Thread Ian Romanick
On 11/16/2014 05:51 PM, Thomas Helland wrote: > This will make expansion easier and less cluttered. > --- > src/glsl/opt_minmax.cpp | 19 ++- > 1 file changed, 14 insertions(+), 5 deletions(-) > > diff --git a/src/glsl/opt_minmax.cpp b/src/glsl/opt_minmax.cpp > index 89970d5..111d

[Mesa-dev] [PATCH 05/16] glsl: Change to using switch-case in get_range

2014-11-16 Thread Thomas Helland
This will make expansion easier and less cluttered. --- src/glsl/opt_minmax.cpp | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/glsl/opt_minmax.cpp b/src/glsl/opt_minmax.cpp index 89970d5..111d183 100644 --- a/src/glsl/opt_minmax.cpp +++ b/src/glsl/opt_