summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@itt42.(none)>2009-09-01 15:18:17 +1000
committerDave Airlie <airlied@itt42.(none)>2009-09-01 15:18:17 +1000
commita2bd13fec9ac2bd77ee21cb85a636fde80ce0368 (patch)
treea9b0d9bf6bc0b6c741003412ef58faa286ead3bc
parentae5d78198f35941046b238712d70091cb94be44e (diff)
r100: fixup cubemap domains
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_state_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state_init.c b/src/mesa/drivers/dri/radeon/radeon_state_init.c
index d014fb5c061..8236199b9bf 100644
--- a/src/mesa/drivers/dri/radeon/radeon_state_init.c
+++ b/src/mesa/drivers/dri/radeon/radeon_state_init.c
@@ -573,7 +573,7 @@ static void cube_emit_cs(GLcontext *ctx, struct radeon_state_atom *atom)
for (j = 0; j < 5; j++) {
OUT_BATCH(CP_PACKET0(base_reg + (4 * j), 0));
OUT_BATCH_RELOC(lvl->faces[j].offset, t->mt->bo, lvl->faces[j].offset,
- RADEON_GEM_DOMAIN_VRAM, 0, 0);
+ RADEON_GEM_DOMAIN_GTT|RADEON_GEM_DOMAIN_VRAM, 0, 0);
}
END_BATCH();
}