CELL: fix use of stencil value mask
authorRobert Ellison <papillo@tungstengraphics.com>
Fri, 31 Oct 2008 03:31:07 +0000 (21:31 -0600)
committerRobert Ellison <papillo@tungstengraphics.com>
Fri, 31 Oct 2008 03:31:36 +0000 (21:31 -0600)
commit14e1505cce24ee294cb98683504cc4537c20f34a
treed9cd98d807253438e1d77321db2acd0cfa9ef162
parentb81a7dc2d8ba09b48d5022cf9ff65f2fad890e11
CELL: fix use of stencil value mask

The Cell stencil tests were completely ignoring the stencil value mask.
Now the original code paths are still used if the stencil value mask
is all 1s; but code to use the mask for the stencil value and reference
value comparisons is now emitted if the mask is not all 1s.
src/gallium/drivers/cell/ppu/cell_gen_fragment.c