These where found when going through the mysteriously
high gains I got from the VRP pass. My pass was doing
bad things, but upon inspection I found these.
First patch is benefitial, the rest shows no change
on a shader-db run on my system.

Thomas Helland (3):
  nir: Simplify fne(fneg(a), a) -> fne(a, 0.0)
  nir: Simplify feq(fneg(a), a)) -> feq(a, 0.0)
  nir: Simplify ine/ieq(ineg(a), a) -> ine/ieq(a, 0)

 src/glsl/nir/nir_opt_algebraic.py | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.5.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to