summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_atom_depth.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-31 15:12:14 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-31 15:12:14 -0600
commit6b0be38a6cfecd2babc7175b0877bed522ca9f72 (patch)
tree46c125b5d37489ade7d0c3e8cd0fa698e835503e /src/mesa/state_tracker/st_atom_depth.c
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/mesa/state_tracker/st_atom_depth.c')
0 files changed, 0 insertions, 0 deletions