mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
u_blitter: align vertex buffer suballocations to 4
This commit is contained in:
parent
286e50a87d
commit
7864933acd
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ struct blitter_context *util_blitter_create(struct pipe_context *pipe)
|
|||
for (i = 0; i < 4; i++)
|
||||
ctx->vertices[i][0][3] = 1; /*v.w*/
|
||||
|
||||
ctx->upload = u_upload_create(pipe, 65536, 128, PIPE_BIND_VERTEX_BUFFER);
|
||||
ctx->upload = u_upload_create(pipe, 65536, 4, PIPE_BIND_VERTEX_BUFFER);
|
||||
|
||||
return &ctx->base;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue