[Mesa-dev] [PATCH 0/3] NIR: Simplifications of fne/feq

Thomas Helland thomashelland90 at gmail.com
Thu Aug 6 04:36:03 PDT 2015

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(+)


More information about the mesa-dev mailing list