Browse Source

r300g: align vertex buffer suballocations to 4

tags/i965-primitive-restart-v2
Marek Olšák 13 years ago
parent
commit
687c05661f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/drivers/r300/r300_context.c

+ 1
- 1
src/gallium/drivers/r300/r300_context.c View 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);

Loading…
Cancel
Save