r300g: clear the ZB cache before clearing ZMASK or HIZ
authorMarek Olšák <maraeo@gmail.com>
Sun, 2 Dec 2012 04:41:48 +0000 (05:41 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 2 Dec 2012 06:07:33 +0000 (07:07 +0100)
commit0222b2bd4107b9e5cabfbc06c1a6ca3eaec3cf0d
tree186419bce4bb01da5e1b8c0557b9bd6b2a32d29a
parent62cba629c09aaf236b2750785b899934b531b17a
r300g: clear the ZB cache before clearing ZMASK or HIZ

This fixes wrong rendering in Lightsmark and
the piglit/depthstencil-render-miplevels.

I think I fixed Hyper-Z. So far every app seems to work like a charm.
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_emit.c