Mesa (mesa_7_7_branch): svga: Actually call fence_reference in texture downloads.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri Jan 29 16:23:56 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: ddedfe12d41808c3caa77649e3a9a6c4c6253d69
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddedfe12d41808c3caa77649e3a9a6c4c6253d69

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jan 28 20:51:52 2010 +0000

svga: Actually call fence_reference in texture downloads.

---

 src/gallium/drivers/svga/svga_screen_texture.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_screen_texture.c b/src/gallium/drivers/svga/svga_screen_texture.c
index 9ad4eda..c381988 100644
--- a/src/gallium/drivers/svga/svga_screen_texture.c
+++ b/src/gallium/drivers/svga/svga_screen_texture.c
@@ -203,7 +203,7 @@ svga_transfer_dma(struct svga_transfer *st,
       if(transfer == SVGA3D_READ_HOST_VRAM) {
          svga_screen_flush(screen, &fence);
          sws->fence_finish(sws, fence, 0);
-         //sws->fence_reference(sws, &fence, NULL);
+         sws->fence_reference(sws, &fence, NULL);
       }
    }
    else {
@@ -232,7 +232,7 @@ svga_transfer_dma(struct svga_transfer *st,
             if(y) {
                svga_screen_flush(screen, &fence);
                sws->fence_finish(sws, fence, 0);
-               //sws->fence_reference(sws, &fence, NULL);
+               sws->fence_reference(sws, &fence, NULL);
             }
 
             hw = sws->buffer_map(sws, st->hwbuf, PIPE_BUFFER_USAGE_CPU_WRITE);




More information about the mesa-commit mailing list