From: Tilman Sauerbeck Date: Sat, 11 Sep 2010 10:00:10 +0000 (+0200) Subject: r600g: Undo bo placement change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33b1d14913f8a9f91bf2f2962282502590ed51c1;p=mesa.git r600g: Undo bo placement change. This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a that causes artefacts and a performance drop. Signed-off-by: Tilman Sauerbeck --- diff --git a/src/gallium/drivers/r600/r600_hw_states.c b/src/gallium/drivers/r600/r600_hw_states.c index 768202ab388..d59c6e9b37d 100644 --- a/src/gallium/drivers/r600/r600_hw_states.c +++ b/src/gallium/drivers/r600/r600_hw_states.c @@ -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;