Re: [Mesa-dev] [PATCH 07/16] glsl: Add saturate to get_range

2014-11-19 Thread Ian Romanick
On 11/16/2014 05:51 PM, Thomas Helland wrote: > We can use the intersection function to reduce the range > even further if the operand has bounds between 0.0 and 1.0. > --- > src/glsl/opt_minmax.cpp | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/src/glsl/opt_minmax.cpp b/src/glsl

[Mesa-dev] [PATCH 07/16] glsl: Add saturate to get_range

2014-11-16 Thread Thomas Helland
We can use the intersection function to reduce the range even further if the operand has bounds between 0.0 and 1.0. --- src/glsl/opt_minmax.cpp | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/glsl/opt_minmax.cpp b/src/glsl/opt_minmax.cpp index 341006e..b925aaa 100644 --- a/src/glsl