Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-07 | glsl2: Fix ir_div_to_mul_rcp for integer division. | Eric Anholt | |
rcp of an integer value did not produce the result you're looking for. Instead, do the a * rcp(b) as float and truncate after. This mostly fixes glsl-fs-loop-nested. | |||
2010-07-02 | glsl2: Add a pass to break ir_binop_div to _mul and _rcp. | Eric Anholt | |
This results in constant folding of a constant divisor. |