Mesa (master): nvc0: reset mt transfer address after read loop over layers

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Sat Jan 8 01:15:24 UTC 2011


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

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Jan  6 16:11:36 2011 +0100

nvc0: reset mt transfer address after read loop over layers

---

 src/gallium/drivers/nvc0/nvc0_transfer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/nvc0/nvc0_transfer.c b/src/gallium/drivers/nvc0/nvc0_transfer.c
index 8275511..286b382 100644
--- a/src/gallium/drivers/nvc0/nvc0_transfer.c
+++ b/src/gallium/drivers/nvc0/nvc0_transfer.c
@@ -316,6 +316,7 @@ nvc0_miptree_transfer_new(struct pipe_context *pctx,
       }
    }
    tx->rect[0].z = z;
+   tx->rect[1].base = 0;
 
    return &tx->base;
 }




More information about the mesa-commit mailing list