summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-12-06 09:45:49 +0000
committerDave Airlie <[email protected]>2011-12-06 10:34:16 +0000
commit81a715605af97f12e8907dba3d1de27addf5335f (patch)
tree038e20b80ec8bb6e057d2563d7311d089907bced /src/mesa/drivers/dri/r200
parent4d4cecd05b9395316a0d8d2c82a68da9dc7e3ce4 (diff)
r200: fix cb microtile setup
We shouldn't see this in buffers from the DDX but just in case. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_state_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state_init.c b/src/mesa/drivers/dri/r200/r200_state_init.c
index c5dd1cf968c..ab4a188d4c1 100644
--- a/src/mesa/drivers/dri/r200/r200_state_init.c
+++ b/src/mesa/drivers/dri/r200/r200_state_init.c
@@ -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) {