summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_optimize.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-02 12:17:20 -0700
committerIan Romanick <[email protected]>2011-08-16 14:09:44 -0700
commitff2cfb8989cd79218dfe2cd8c3de20f1ca7418e6 (patch)
tree0add0901354dbf873b5ce400688bae7a51f809d4 /src/mesa/program/prog_optimize.h
parentba01df11c4d09c65514a8522cb319e29034ab5a8 (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.h')
0 files changed, 0 insertions, 0 deletions