summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/common.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-31 15:12:14 -0600
committerBrian <[email protected]>2008-03-31 15:12:14 -0600
commit6b0be38a6cfecd2babc7175b0877bed522ca9f72 (patch)
tree46c125b5d37489ade7d0c3e8cd0fa698e835503e /src/gallium/drivers/cell/common.h
parent23b03c536daa47b53e585fa98476bad96eb73529 (diff)
gallium: used inverted bitmap texture to simplify the fragment shader.
"Off" bits get stored as texel=0xff and "on" bits get stored as texel=0x0. Then use KIL -tmp to kill the off bits and keep the on bits. This shortens the fragment program by two instructions.
Diffstat (limited to 'src/gallium/drivers/cell/common.h')
0 files changed, 0 insertions, 0 deletions