Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-09 | glsl2: Add a pass to transform ir_binop_sub to add(op0, neg(op1)) | Eric Anholt | |
All the current HW backends transform subtract to adding the negation, so I haven't bothered peepholing it back out in Mesa IR. This allows some subtract of subtract to get removed in ir_algebraic. |