Re: [Mesa-dev] [PATCH 01/16] glsl: Add EmitNoSaturate to shader compiler options

2014-11-16 Thread Matt Turner
On Sun, Nov 16, 2014 at 7:33 PM, Matt Turner wrote: > On Sun, Nov 16, 2014 at 5:51 PM, Thomas Helland > wrote: >> This allows the backend to decide if it does not >> want saturates, or if it wants to combine min/max >> together by itself. >> >> Usefull for drivers that implement saturate with min

Re: [Mesa-dev] [PATCH 01/16] glsl: Add EmitNoSaturate to shader compiler options

2014-11-16 Thread Matt Turner
On Sun, Nov 16, 2014 at 5:51 PM, Thomas Helland wrote: > This allows the backend to decide if it does not > want saturates, or if it wants to combine min/max > together by itself. > > Usefull for drivers that implement saturate with min/max > as it can allow for some optimizations by min/max-pruni

[Mesa-dev] [PATCH 01/16] glsl: Add EmitNoSaturate to shader compiler options

2014-11-16 Thread Thomas Helland
This allows the backend to decide if it does not want saturates, or if it wants to combine min/max together by itself. Usefull for drivers that implement saturate with min/max as it can allow for some optimizations by min/max-pruning. Drivers like freedreno and vc4 will benefit. --- I have not mad