r300g: mark vertex arrays as dirty after a buffer_offset change
authorMarek Olšák <maraeo@gmail.com>
Mon, 27 Dec 2010 15:15:24 +0000 (16:15 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 28 Dec 2010 03:40:05 +0000 (04:40 +0100)
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

index 565ead21711818d03c2b6ccd960dca9ae87a1d26..93f9b4f59b779c21a51f989414fd3880a050720b 100644 (file)
@@ -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;
         }
     }
 }