summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_algebraic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ir_algebraic: Use ir_constant::zero.Kenneth Graunke2010-07-281-6/+2
|
* glsl2: Add optimization pass for algebraic simplifications.Eric Anholt2010-07-271-0/+366
This cleans up the assembly output of almost all the non-logic tests glsl-algebraic-*. glsl-algebraic-pow-two needs love (basically, flattening to a temporary and squaring it).