Re: [Mesa-dev] [PATCH 5/5] nir: Lower flrp differently when the alpha value is reused

2018-08-24 Thread Ian Romanick
On 08/23/2018 06:59 PM, Eric Anholt wrote: > Ian Romanick writes: > >> From: Ian Romanick >> >> For some reason, if I did not move the regular lowering to late >> optimizations, the new lowering would never trigger. This also means >> that the fsub lowering had to be added to late

Re: [Mesa-dev] [PATCH 5/5] nir: Lower flrp differently when the alpha value is reused

2018-08-23 Thread Eric Anholt
Ian Romanick writes: > From: Ian Romanick > > For some reason, if I did not move the regular lowering to late > optimizations, the new lowering would never trigger. This also means > that the fsub lowering had to be added to late optimizations, and this > requires "intel/compiler: Repeat

[Mesa-dev] [PATCH 5/5] nir: Lower flrp differently when the alpha value is reused

2018-08-13 Thread Ian Romanick
From: Ian Romanick For some reason, if I did not move the regular lowering to late optimizations, the new lowering would never trigger. This also means that the fsub lowering had to be added to late optimizations, and this requires "intel/compiler: Repeat nir_opt_algebraic_late until no more