diff options
author | Eric Anholt <[email protected]> | 2010-08-09 21:22:17 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-09 21:41:14 -0700 |
commit | 5854d4583c6e8885185e12a0636f77489a62e24c (patch) | |
tree | 38a132c8c1d5a1f09fc4733da1584fe5dbdd47a3 /src/glsl/tests/constructor-08.glsl | |
parent | 8bebbeb7c5b26ec9166a4644a2c051238d18509b (diff) |
glsl2: Add a pass to transform ir_binop_sub to add(op0, neg(op1))
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.
Diffstat (limited to 'src/glsl/tests/constructor-08.glsl')
0 files changed, 0 insertions, 0 deletions