diff options
author | Jason Ekstrand <[email protected]> | 2015-04-01 12:24:37 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-04-01 12:51:03 -0700 |
commit | 1779dc060fa8d55d979f887e41f1ec2c793859b7 (patch) | |
tree | 58315bbc645a531f0035f25b0e23c932807b7020 /src/glsl | |
parent | 22ee7eeb4e08ffdd8d53aa68e4d2b2c09f1721d0 (diff) |
nir/algebraic: Remove a duplicate optimization
This optimization is repeated verbatim above
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/nir/nir_opt_algebraic.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glsl/nir/nir_opt_algebraic.py b/src/glsl/nir/nir_opt_algebraic.py index 190bd916efe..ddf78be7721 100644 --- a/src/glsl/nir/nir_opt_algebraic.py +++ b/src/glsl/nir/nir_opt_algebraic.py @@ -172,9 +172,6 @@ optimizations = [ (('iadd', a, ('isub', 0, b)), ('isub', a, b)), (('fabs', ('fsub', 0.0, a)), ('fabs', a)), (('iabs', ('isub', 0, a)), ('iabs', a)), - -# This one may not be exact - (('feq', ('fadd', a, b), 0.0), ('feq', a, ('fneg', b))), ] # Add optimizations to handle the case where the result of a ternary is |