From: Marek Olšák Date: Fri, 13 Apr 2012 15:51:42 +0000 (+0200) Subject: r300g: align vertex buffer suballocations to 4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=687c05661f54dc9a6df5974a91205fc7ed469f2b;p=mesa.git r300g: align vertex buffer suballocations to 4 --- diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index 2cd0d5ab770..23fac301095 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);