diff options
author | Marek Olšák <[email protected]> | 2011-03-01 01:46:10 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-03-01 01:46:27 +0100 |
commit | 790c73140939fb60c1b702215bb6afa09f401a8e (patch) | |
tree | 09f24392a994aa33edb1e6d5360a1e270c9424bf /src/gallium/drivers/r300/r300_emit.c | |
parent | 4609be44106274fa88cfdf935257dfbe51cb6039 (diff) |
r300g: set the correct HiZ clear value
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 6061c2a623c..9b4a3063f6d 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -1037,7 +1037,7 @@ void r300_emit_hiz_clear(struct r300_context *r300, unsigned size, void *state) OUT_CS_PKT3(R300_PACKET3_3D_CLEAR_HIZ, 2); OUT_CS(0); OUT_CS(tex->tex.hiz_dwords[fb->zsbuf->u.tex.level]); - OUT_CS(0xffffffff); + OUT_CS(r300->hiz_clear_value); END_CS; /* Mark the current zbuffer's hiz ram as in use. */ |