Mesa (master): r300g: also revalidate the SWTCL vertex buffer after its reallocation
Marek Olšák
mareko at kemper.freedesktop.org
Tue Dec 7 18:40:20 UTC 2010
Module: Mesa
Branch: master
Commit: d8b861987d32444586e786cb39c6ef1c7498ae9b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8b861987d32444586e786cb39c6ef1c7498ae9b
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Dec 7 19:24:19 2010 +0100
r300g: also revalidate the SWTCL vertex buffer after its reallocation
---
src/gallium/drivers/r300/r300_render.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index 7bb5eaa..b4197e0 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -816,6 +816,7 @@ static boolean r300_render_allocate_vertices(struct vbuf_render* render,
R300_MAX_DRAW_VBO_SIZE);
r300->draw_vbo_offset = 0;
r300->draw_vbo_size = R300_MAX_DRAW_VBO_SIZE;
+ r300->validate_buffers = TRUE;
}
r300render->vertex_size = vertex_size;
More information about the mesa-commit
mailing list