projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4cecd
)
r200: fix cb microtile setup
author
Dave Airlie
<airlied@redhat.com>
Tue, 6 Dec 2011 09:45:49 +0000
(09:45 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 6 Dec 2011 10:34:16 +0000
(10:34 +0000)
We shouldn't see this in buffers from the DDX but just in case.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/r200/r200_state_init.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_state_init.c
b/src/mesa/drivers/dri/r200/r200_state_init.c
index c5dd1cf968c087a07296b5d7ed49324739a6e088..ab4a188d4c1414a59bd29057d50f2d41e09a89ef 100644
(file)
--- 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) {