r300g: align vertex buffer suballocations to 4
authorMarek Olšák <maraeo@gmail.com>
Fri, 13 Apr 2012 15:51:42 +0000 (17:51 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 13 Apr 2012 21:18:04 +0000 (23:18 +0200)
src/gallium/drivers/r300/r300_context.c

index 2cd0d5ab770527c878bb5a4ca89071c64f5ee2db..23fac30109529139d77643b07a0bfc963fb95c8b 100644 (file)
@@ -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);