summaryrefslogtreecommitdiff
path: root/src/glsl/opt_algebraic.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-10-28glsl: Drop no-op shifts involving 0.Eric Anholt1-0/+10
2013-10-28glsl: Use ir_builder more in opt_algebraic.Eric Anholt1-30/+10
2013-10-28glsl: Move common code out of opt_algebraic's handle_expression().Eric Anholt1-78/+39
2013-10-25glsl: Optimize (not A) and (not B) into not (A or B).Matt Turner1-0/+9
2013-10-25glsl: Optimize (not A) or (not B) into not (A and B).Matt Turner1-0/+12
2013-10-21glsl: Optimize -(-expr) into expr.Matt Turner1-0/+10
2013-10-21glsl: Optimize abs(-expr) and abs(abs(expr)) into abs(expr).Matt Turner1-0/+18
2013-10-21glsl: Use saved values instead of recomputing them.Matt Turner1-8/+4
2013-10-16glsl: Optimize mul(a, -1) into neg(a).Matt Turner1-0/+23
2013-05-06glsl: Add support for new bit built-ins in ARB_gpu_shader5.Matt Turner1-3/+3
2013-02-28glsl: Optimize ir_triop_lrp(x, y, a) with a = 0.0f or 1.0fMatt Turner1-0/+11
2013-02-28glsl: Convert mix() to use a new ir_triop_lrp opcode.Kenneth Graunke1-3/+3
2012-06-12glsl: Transform dot product by a basis vector into a swizzleMatt Turner1-0/+24
2012-06-12glsl: Check for zero vectors in ir_binop_dotMatt Turner1-0/+7
2012-06-11glsl: Put a bunch of optimization visitors under anonymous namespaces.Eric Anholt1-0/+4
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke1-1/+1
2010-11-30glsl: fix matrix type check in ir_algebraicAras Pranckevicius1-2/+2
2010-11-19glsl: Add ir_quadop_vector expressionIan Romanick1-1/+1
2010-11-19glsl: Eliminate assumptions about size of ir_expression::operandsIan Romanick1-0/+1
2010-11-17glsl: Fix Doxygen tag \file in recently renamed filesChad Versace1-1/+1
2010-11-16glsl: Refactor is_vec_{zero,one} to be methods of ir_constantIan Romanick1-68/+4
2010-11-15glsl: Rename various ir_* files to lower_* and opt_*.Kenneth Graunke1-0/+474