diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-08-02 12:17:20 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-08-16 14:09:44 -0700 |
commit | ff2cfb8989cd79218dfe2cd8c3de20f1ca7418e6 (patch) | |
tree | 0add0901354dbf873b5ce400688bae7a51f809d4 /src/mesa/program/prog_opt_constant_fold.c | |
parent | ba01df11c4d09c65514a8522cb319e29034ab5a8 (diff) | |
download | external_mesa3d-ff2cfb8989cd79218dfe2cd8c3de20f1ca7418e6.zip external_mesa3d-ff2cfb8989cd79218dfe2cd8c3de20f1ca7418e6.tar.gz external_mesa3d-ff2cfb8989cd79218dfe2cd8c3de20f1ca7418e6.tar.bz2 |
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 <eric@anholt.net>
Diffstat (limited to 'src/mesa/program/prog_opt_constant_fold.c')
0 files changed, 0 insertions, 0 deletions