Mesa (master): Revert "r600c: substract vbo offset to vbo size"

Jerome Glisse glisse at kemper.freedesktop.org
Fri Feb 12 10:26:24 PST 2010


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

Author: Jerome Glisse <jglisse at redhat.com>
Date:   Fri Feb 12 19:25:16 2010 +0100

Revert "r600c: substract vbo offset to vbo size"

This reverts commit 325614a882f5371da512536e07c443a172ffb87c.
Ok this was already fixed this commit actualy broke things

---

 src/mesa/drivers/dri/r600/r700_chip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r600/r700_chip.c b/src/mesa/drivers/dri/r600/r700_chip.c
index 1aa351e..a742dbc 100644
--- a/src/mesa/drivers/dri/r600/r700_chip.c
+++ b/src/mesa/drivers/dri/r600/r700_chip.c
@@ -205,7 +205,7 @@ static void r700SetupVTXConstants(GLcontext  * ctx,
     }
 
     uSQ_VTX_CONSTANT_WORD0_0 = paos->offset;
-    uSQ_VTX_CONSTANT_WORD1_0 = nVBsize - paos->offset - 1;
+    uSQ_VTX_CONSTANT_WORD1_0 = nVBsize - 1;
 
     SETfield(uSQ_VTX_CONSTANT_WORD2_0, 0, BASE_ADDRESS_HI_shift, BASE_ADDRESS_HI_mask); /* TODO */
     SETfield(uSQ_VTX_CONSTANT_WORD2_0, pStreamDesc->stride, SQ_VTX_CONSTANT_WORD2_0__STRIDE_shift,



More information about the mesa-commit mailing list