From 33b1d14913f8a9f91bf2f2962282502590ed51c1 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sat, 11 Sep 2010 12:00:10 +0200 Subject: [PATCH] r600g: Undo bo placement change. This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a that causes artefacts and a performance drop. Signed-off-by: Tilman Sauerbeck --- src/gallium/drivers/r600/r600_hw_states.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2