summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-07-30 10:48:10 -0700
committerIan Romanick <[email protected]>2011-08-16 14:09:40 -0700
commit6ad08989d7c10892919ce1cb9c88c4cf8b73e1dc (patch)
treeccfe5785ad6da03215438c05abe67ae269224dfc /common.py
parent3c9f172fe801a8e954a40affc38942b628b81bda (diff)
ir_to_mesa: Implement ir_unop_logic_not using 1-x
Since our logic values are 0.0 (false) and 1.0 (true), 1.0 - x accurately implements logical not. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions