r300g: attempt to fix texture corruption on RV505
authorMarek Olšák <maraeo@gmail.com>
Tue, 22 Jun 2010 23:35:11 +0000 (01:35 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 22 Jun 2010 23:35:11 +0000 (01:35 +0200)
src/gallium/drivers/r300/r300_transfer.c

index d41f2588369d87a5fd93b38ab99e28c424f79503..02421a58b835ad82398ac5a27033e8141f1323da 100644 (file)
@@ -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*