Mesa (master): r300g: mark vertex arrays as dirty after a buffer_offset change

Marek Olšák mareko at kemper.freedesktop.org
Tue Dec 28 03:55:06 UTC 2010


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Dec 27 16:15:24 2010 +0100

r300g: mark vertex arrays as dirty after a buffer_offset change

We shouldn't hit this bug in theory.

NOTE: This is a candidate for the 7.10 branch.

---

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

diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c
index 565ead2..93f9b4f 100644
--- a/src/gallium/drivers/r300/r300_screen_buffer.c
+++ b/src/gallium/drivers/r300/r300_screen_buffer.c
@@ -90,6 +90,7 @@ void r300_upload_user_buffers(struct r300_context *r300)
                           &vb->buffer_offset, &vb->buffer);
 
             r300->validate_buffers = TRUE;
+            r300->aos_dirty = TRUE;
         }
     }
 }




More information about the mesa-commit mailing list