Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl2: Add a pass to break ir_binop_div to _mul and _rcp. | Eric Anholt | 2010-07-02 | 1 | -0/+1 |
| | | | | This results in constant folding of a constant divisor. | ||||
* | glsl2: Add a pass to convert mod(a, b) to b * fract(a/b). | Eric Anholt | 2010-07-01 | 1 | -0/+1 |
| | | | | This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod. | ||||
* | glsl2: Use the parser state as the talloc context for dead code elimination. | Eric Anholt | 2010-06-25 | 1 | -2/+4 |
| | | | | This cuts runtime by around 20% from talloc_parent() lookups. | ||||
* | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | 2010-06-24 | 1 | -0/+41 |