r300g: improve the ZTOP condition
authorMarek Olšák <maraeo@gmail.com>
Sat, 19 Jun 2010 02:44:34 +0000 (04:44 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 19 Jun 2010 03:14:31 +0000 (05:14 +0200)
commit371ca689ec5d1d7f301f4a3176c4e0df1c44ec15
treefaa95d8814cea070dc4080a07ee026cc264de4e2
parent8ea45a2c0ec5e53210761753dc9122c2771ba57b
r300g: improve the ZTOP condition

The real difference here is that ZTOP is now enabled if all stencil ops
are set to KEEP. This improves performance.
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_hyperz.c
src/gallium/drivers/r300/r300_state.c