r600g: Undo bo placement change.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sat, 11 Sep 2010 10:00:10 +0000 (12:00 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sat, 11 Sep 2010 16:40:45 +0000 (18:40 +0200)
This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a
that causes artefacts and a performance drop.

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
src/gallium/drivers/r600/r600_hw_states.c

index 768202ab388a591abf8f4c0d01e033251174ce69..d59c6e9b37dab73354264b55486205591f44c4c1 100644 (file)
@@ -121,7 +121,7 @@ static void r600_cb(struct r600_context *rctx, struct radeon_state *rstate,
        rtex = (struct r600_resource_texture*)state->cbufs[cb]->texture;
        rbuffer = &rtex->resource;
        rstate->bo[0] = radeon_bo_incref(rscreen->rw, rbuffer->bo);
-       rstate->placement[0] = RADEON_GEM_DOMAIN_VRAM;
+       rstate->placement[0] = RADEON_GEM_DOMAIN_GTT;
        rstate->nbo = 1;
        pitch = (rtex->pitch[level] / rtex->bpt) / 8 - 1;
        slice = (rtex->pitch[level] / rtex->bpt) * state->cbufs[cb]->height / 64 - 1;