diff options
author | Marek Olšák <[email protected]> | 2011-05-31 15:53:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-05-31 18:19:27 +0200 |
commit | b1246cf13bc4e301b499a95d33e0cab26655fed5 (patch) | |
tree | c00b93647b41236b4453e29d2c50fd81c2d0ce49 | |
parent | b5518834e3ae117eafb32cfc5c7e7af51b4a1078 (diff) |
r300g: set squared microtiling for the dummy zbuffer
The pitch of 4 is allowed for squared microtiling only.
-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 5d6188e5120..d214af4cd5b 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -450,7 +450,7 @@ void r300_emit_fb_state(struct r300_context* r300, unsigned size, void* state) OUT_CS_REG(R300_ZB_DEPTHOFFSET, 0); OUT_CS_RELOC(surf); - OUT_CS_REG(R300_ZB_DEPTHPITCH, 4 | R300_DEPTHMICROTILE_TILED); + OUT_CS_REG(R300_ZB_DEPTHPITCH, 4 | R300_DEPTHMICROTILE_TILED_SQUARE); OUT_CS_RELOC(surf); } |