r300g: set squared microtiling for the dummy zbuffer

The pitch of 4 is allowed for squared microtiling only.
This commit is contained in:
Marek Olšák 2011-05-31 15:53:11 +02:00
parent b5518834e3
commit b1246cf13b

View file

@ -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);
}