diff options
author | Marek Olšák <[email protected]> | 2013-01-14 01:38:51 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-01-15 21:50:34 +0100 |
commit | 7660529c44b3f6753e9b5636e876a3cd83c8ba51 (patch) | |
tree | 337240303d58cbe61f9b3489fda4aeee8426bf51 /src/gallium/drivers/r300/r300_context.c | |
parent | ca2c28859eca83f8fbf1f43616f5ef861e95e8d6 (diff) |
r300g: fix and cleanup flushing before clearing CMASK, ZMASK, and HIZ
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index a6fccc6e02c..d8af13f9954 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -204,9 +204,9 @@ static boolean r300_setup_atoms(struct r300_context* r300) R300_INIT_ATOM(texture_cache_inval, 2); R300_INIT_ATOM(textures_state, 0); /* Clear commands */ - R300_INIT_ATOM(hiz_clear, r300->screen->caps.hiz_ram > 0 ? 6 : 0); - R300_INIT_ATOM(zmask_clear, r300->screen->caps.zmask_ram > 0 ? 6 : 0); - R300_INIT_ATOM(cmask_clear, 6); + R300_INIT_ATOM(hiz_clear, r300->screen->caps.hiz_ram > 0 ? 4 : 0); + R300_INIT_ATOM(zmask_clear, r300->screen->caps.zmask_ram > 0 ? 4 : 0); + R300_INIT_ATOM(cmask_clear, 4); /* ZB (unpipelined), SU. */ R300_INIT_ATOM(query_start, 4); |