auxiliary: fix depth-only and stencil-only clears
authorLuca Barbieri <luca@luca-barbieri.com>
Sun, 19 Sep 2010 19:48:28 +0000 (21:48 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Sun, 19 Sep 2010 19:52:02 +0000 (21:52 +0200)
commita01578c84ffcc03a98b3c3f20d05cdb0e0e4ada7
tree4eaccc87693a70008fb3961ddbb14e5b5dccef2b
parentaffd46cc2bb327490fbc6a96f936dccf82d4996d
auxiliary: fix depth-only and stencil-only clears

Depth-only and stencil-only clears should mask out depth/stencil from the
output, mask out stencil/input from input, and OR or ADD them together.

However, due to a typo they were being ANDed, resulting in zeroing the buffer.
src/gallium/auxiliary/util/u_surface.c