freedreno/ir3: don't lower fsat
authorRob Clark <robdclark@gmail.com>
Sun, 21 Jan 2018 17:31:51 +0000 (12:31 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 10 Feb 2018 19:54:58 +0000 (14:54 -0500)
commit942341bcd0128fb9d9caf68b33f603855e2f6d69
tree1522ae37ae37131f4364bbac842013216ef19236
parentb2fc94f0745b375b586dbd2685b1c268f4267747
freedreno/ir3: don't lower fsat

Instead, if possible fold (sat) flag into src, otherwise use:

  (sat)max.f rD, rS, rS

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3.h
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
src/gallium/drivers/freedreno/ir3/ir3_nir.c