projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b273958
)
nir: Fix typo from commit 6702f1acde9.
author
Matt Turner
<mattst88@gmail.com>
Thu, 31 Mar 2016 02:18:16 +0000
(19:18 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 31 Mar 2016 02:18:35 +0000
(19:18 -0700)
src/compiler/nir/nir_opt_algebraic.py
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_opt_algebraic.py
b/src/compiler/nir/nir_opt_algebraic.py
index c2e56e71734ddaa39b5a9aee2be6f6dc8599bbe8..2fac9adafe63166c446bdbfe7dedee9acb6129ed 100644
(file)
--- a/
src/compiler/nir/nir_opt_algebraic.py
+++ b/
src/compiler/nir/nir_opt_algebraic.py
@@
-271,7
+271,7
@@
optimizations = [
# Propagate negation up multiplication chains
(('fmul', ('fneg', a), b), ('fneg', ('fmul', a, b))),
- (('imul', ('ineg', a), b), ('ineg', ('
f
mul', a, b))),
+ (('imul', ('ineg', a), b), ('ineg', ('
i
mul', a, b))),
# Misc. lowering
(('fmod', a, b), ('fsub', a, ('fmul', b, ('ffloor', ('fdiv', a, b)))), 'options->lower_fmod'),