Re: [Mesa-dev] [PATCH 03/22] nir/algebraic: Add some max/min optimizations

2018-08-17 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Aug 17, 2018 at 10:06 PM, Jason Ekstrand wrote: > Found by inspection. This doesn't help much now but we'll see this > pattern with images if you load UNORM and then store UNORM. > > Shader-db results on Kaby Lake: > > total instructions in shared prog

[Mesa-dev] [PATCH 03/22] nir/algebraic: Add some max/min optimizations

2018-08-17 Thread Jason Ekstrand
Found by inspection. This doesn't help much now but we'll see this pattern with images if you load UNORM and then store UNORM. Shader-db results on Kaby Lake: total instructions in shared programs: 15166916 -> 15166910 (<.01%) instructions in affected programs: 761 -> 755 (-0.79%) he