r200: fix cb microtile setup

We shouldn't see this in buffers from the DDX but just in case.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2011-12-06 09:45:49 +00:00
parent 4d4cecd05b
commit 81a715605a
1 changed files with 3 additions and 0 deletions

View File

@ -468,6 +468,9 @@ static void ctx_emit_cs(struct gl_context *ctx, struct radeon_state_atom *atom)
cbpitch = (rrb->pitch / rrb->cpp);
if (rrb->bo->flags & RADEON_BO_FLAGS_MACRO_TILE)
cbpitch |= R200_COLOR_TILE_ENABLE;
if (rrb->bo->flags & RADEON_BO_FLAGS_MICRO_TILE)
cbpitch |= R200_COLOR_MICROTILE_ENABLE;
drb = radeon_get_depthbuffer(&r200->radeon);
if (drb) {