summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_opt_algebraic.py
Commit message (Expand)AuthorAgeFilesLines
* nir: Recognize max(min(a, 1.0), 0.0) as fsat(a).Kenneth Graunke2015-06-251-0/+1
* nir: Remove sRGB colorspace conversion round-trip.Matt Turner2015-05-221-0/+2
* nir: Delete all traces of nir_op_flogIan Romanick2015-05-081-6/+0
* nir: Delete all traces of nir_op_fexpIan Romanick2015-05-081-7/+0
* nir: Allow feq/fne/ieq/ine to be optimized with inot.Matt Turner2015-05-071-0/+4
* nir: Recognize (a < c || b < c) as min(a, b) < c.Matt Turner2015-05-071-0/+2
* nir: Recognize trivial min/max.Matt Turner2015-05-071-0/+6
* nir: Recognize i2b(b2i(x)) as x.Matt Turner2015-05-071-0/+1
* nir: Recognize imul(b2i(a), b2i(b)) as a logical AND.Matt Turner2015-05-071-0/+1
* nir: Transform pow(x, 4) into (x*x)*(x*x).Matt Turner2015-04-241-0/+1
* nir: Fix typo in "ushr by 0" algebraic replacementIan Romanick2015-04-141-1/+1
* nir: split out lower_sub from lower_negateRob Clark2015-04-111-2/+2
* nir: add option to lower slt/sge/seq/sneRob Clark2015-04-051-0/+4
* nir: Remove useless ftrunc inside f2i/f2u.Matt Turner2015-04-011-0/+4
* nir: Recognize (a < b || a < c) as a < max(b, c).Matt Turner2015-04-011-0/+2
* nir: Add addition/multiplication identities of exp/log.Matt Turner2015-04-011-0/+6
* nir: Add identities for the log function.Matt Turner2015-04-011-0/+8
* nir: Add identities for the exponential function.Matt Turner2015-04-011-0/+6
* nir: Recognize another open coded lrp.Matt Turner2015-04-011-0/+1
* nir: Recognize open coded lrp.Matt Turner2015-04-011-0/+1
* nir: Move the compare-with-zero optimizations to the late sectionJason Ekstrand2015-04-011-4/+4
* nir/algebraic: Add a seperate section for "late" optimizationsJason Ekstrand2015-04-011-0/+9
* nir/algebraic: Remove a duplicate optimizationJason Ekstrand2015-04-011-3/+0
* nir: Recognize a pattern of bool frobbing from TGSI KILL_IF.Eric Anholt2015-04-011-0/+2
* nir: Recognize a pattern for doing b2f without the opcode.Eric Anholt2015-04-011-0/+1
* nir: Lower subtraction to add with negation when !lower_negate.Kenneth Graunke2015-03-271-0/+2
* nir: Add optional lowering of flrp.Eric Anholt2015-03-271-0/+1
* nir: Recognize sat(add(b2f(a), b2f(b))) as a logical OR.Matt Turner2015-03-241-0/+1
* nir: Recognize mul(b2f(a), b2f(b)) as a logical AND.Matt Turner2015-03-241-0/+2
* nir: Optimize a + neg(a)Thomas Helland2015-03-111-0/+2
* nir: Optimize (a*b)+(a*c) -> a*(b+c)Thomas Helland2015-03-111-0/+2
* nir: Generalize the optimization of subs of subs from 0.Eric Anholt2015-02-211-2/+2
* nir: Collapse repeated bcsels on the same argument.Eric Anholt2015-02-211-0/+1
* nir: When faced with a csel on !condition, just flip the arguments.Eric Anholt2015-02-211-0/+1
* nir: Add a couple of simplifications of csel operations.Eric Anholt2015-02-211-0/+3
* nir: Recognize and reduce duplicated fsats.Eric Anholt2015-02-181-0/+2
* nir: Add a flag for lowering fsat.Eric Anholt2015-02-181-1/+2
* nir: Add a flag for lowering ffma.Eric Anholt2015-02-181-1/+2
* nir: Add a flag for lowering fneg/ineg.Eric Anholt2015-02-181-0/+10
* nir: Add a flag for lowering fsqrt(x) to frcp(frsqrt(x)).Eric Anholt2015-02-181-1/+2
* nir: Add lowering of POW instructions if the lower flag is set.Eric Anholt2015-02-181-0/+1
* nir: Conditionalize the POW reconstruction on shader compiler options.Eric Anholt2015-02-181-2/+2
* nir: Recognize open-coded fmin/fmax.Matt Turner2015-02-111-0/+2
* nir: Add algebraic opt for int comparisons with identical operands.Eric Anholt2015-02-111-0/+9
* nir: Fix broken fsat recognizer.Eric Anholt2015-02-061-1/+1
* nir/opt_algebraic: Add some constant bcsel reductionsJason Ekstrand2015-01-291-2/+28
* nir/opt_algebraic: Add some boolean simplificationsJason Ekstrand2015-01-291-4/+5
* nir/algebraic: Support specifying variable as constant or by typeJason Ekstrand2015-01-291-3/+9
* nir: Add variants of some of the comparison simplifications.Eric Anholt2015-01-291-0/+4
* nir: Add algebraic optimizations for division and reciprocal.Kenneth Graunke2015-01-231-0/+5