diff options
author | Marek Olšák <[email protected]> | 2010-08-13 04:34:38 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-08-13 04:41:38 +0200 |
commit | aa6bdd38af344f7f2ea9956d2ed415f26e8f07cb (patch) | |
tree | d5b793df2d3a7d111bc0d83672746df27db1ebdd /src/gallium/drivers/r300/r300_state.c | |
parent | 4985ce1755c5d6f4fa6281150ae0bf7df594146f (diff) |
r300g: fix fastfill when color and Z clear are invoked separately
This always restores the previous depth clear value after CBZB clear.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index e62a33daebd..8abc65a2b8e 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -796,7 +796,7 @@ static void r300->z_compression, r300->z_fastfill, tex->zmask_mem[level] ? tex->zmask_mem[level]->ofs : 0xdeadbeef); } - + /* Polygon offset depends on the zbuffer bit depth. */ if (r300->zbuffer_bpp != zbuffer_bpp) { r300->zbuffer_bpp = zbuffer_bpp; |