Module: Mesa Branch: master Commit: 687c05661f54dc9a6df5974a91205fc7ed469f2b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=687c05661f54dc9a6df5974a91205fc7ed469f2b
Author: Marek Olšák <mar...@gmail.com> Date: Fri Apr 13 17:51:42 2012 +0200 r300g: align vertex buffer suballocations to 4 --- src/gallium/drivers/r300/r300_context.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index 2cd0d5a..23fac30 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -428,7 +428,7 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen, r300->context.create_video_buffer = vl_video_buffer_create; if (r300->screen->caps.has_tcl) { - r300->vbuf_mgr = u_vbuf_create(&r300->context, 1024 * 1024, 16, + r300->vbuf_mgr = u_vbuf_create(&r300->context, 1024 * 1024, 4, PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER, U_VERTEX_FETCH_DWORD_ALIGNED); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit