Re: [Mesa-dev] [PATCH 1/3] nir/algebraic: Separate ffma lowering from fusing

2016-05-10 Thread Kenneth Graunke
On Thursday, May 5, 2016 5:51:18 PM PDT Jason Ekstrand wrote: > The i965 driver has its own pass for fusing mul+add combinations that's > much smarter than what nir_opt_algebraic can do so we don't want to get the > nir_opt_algebraic one just because we didn't set lower_ffma. > --- > src/compiler/

[Mesa-dev] [PATCH 1/3] nir/algebraic: Separate ffma lowering from fusing

2016-05-05 Thread Jason Ekstrand
The i965 driver has its own pass for fusing mul+add combinations that's much smarter than what nir_opt_algebraic can do so we don't want to get the nir_opt_algebraic one just because we didn't set lower_ffma. --- src/compiler/nir/nir.h | 1 + src/compiler/nir/nir_opt_algebraic