summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-13 17:51:42 +0200
committerMarek Olšák <[email protected]>2012-04-13 23:18:04 +0200
commit687c05661f54dc9a6df5974a91205fc7ed469f2b (patch)
treea820f5ceea13b5cfec6f636a340cc9452b25e353 /src/gallium/drivers
parent7864933acd81892be0692555ae6d37d4293adb2a (diff)
r300g: align vertex buffer suballocations to 4
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/r300_context.c2
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 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);