diff options
author | Ian Romanick <[email protected]> | 2011-08-02 12:17:20 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-08-16 14:09:44 -0700 |
commit | ff2cfb8989cd79218dfe2cd8c3de20f1ca7418e6 (patch) | |
tree | 0add0901354dbf873b5ce400688bae7a51f809d4 /src/mesa/program/prog_optimize.c | |
parent | ba01df11c4d09c65514a8522cb319e29034ab5a8 (diff) |
ir_to_mesa: Emit a MAD(b, -a, b) for !a && b
!a && b occurs frequently when nexted if-statements have been
flattened. It should also be possible use a MAD for (a && b) || c,
though that would require a MAD_SAT.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_optimize.c')
0 files changed, 0 insertions, 0 deletions