diff options
author | Tilman Sauerbeck <[email protected]> | 2010-09-11 12:00:10 +0200 |
---|---|---|
committer | Tilman Sauerbeck <[email protected]> | 2010-09-11 18:40:45 +0200 |
commit | 33b1d14913f8a9f91bf2f2962282502590ed51c1 (patch) | |
tree | 601d900cd8fe0a83b782b3da3d2faaa7d74473aa /src/gallium | |
parent | 3ad3cbfb120efa74e77f838d9fd3f1212dd0e47b (diff) |
r600g: Undo bo placement change.
This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a
that causes artefacts and a performance drop.
Signed-off-by: Tilman Sauerbeck <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_hw_states.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |