Mesa (master): r300g: attempt to fix texture corruption on RV505

Marek Olšák mareko at kemper.freedesktop.org
Tue Jun 22 23:40:31 UTC 2010


Module: Mesa
Branch: master
Commit: 9ed732584816168f63ecd37ab8a26a5ee495b628
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ed732584816168f63ecd37ab8a26a5ee495b628

Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Jun 23 01:35:11 2010 +0200

r300g: attempt to fix texture corruption on RV505

---

 src/gallium/drivers/r300/r300_transfer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c
index d41f258..02421a5 100644
--- a/src/gallium/drivers/r300/r300_transfer.c
+++ b/src/gallium/drivers/r300/r300_transfer.c
@@ -80,6 +80,8 @@ static void r300_copy_into_tiled_texture(struct pipe_context *ctx,
 			      &r300transfer->detiled_texture->b.b, subsrc,
 			      0, 0, 0,
 			      transfer->box.width, transfer->box.height);
+
+    ctx->flush(ctx, 0, NULL);
 }
 
 struct pipe_transfer*




More information about the mesa-commit mailing list