r100: fixup cubemap domains
authorDave Airlie <airlied@itt42.(none)>
Tue, 1 Sep 2009 05:18:17 +0000 (15:18 +1000)
committerDave Airlie <airlied@itt42.(none)>
Tue, 1 Sep 2009 05:18:17 +0000 (15:18 +1000)
src/mesa/drivers/dri/radeon/radeon_state_init.c

index d014fb5c06157c98a22059059a22d576ca841d91..8236199b9bf96fc08d68c776b7f9f9184618cd7c 100644 (file)
@@ -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();
 }