From: José Fonseca Date: Thu, 14 Aug 2008 09:11:51 +0000 (+0100) Subject: mesa: Don't use alignments < 4. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c67f353c0f0d3872c330e5a8cdb13334a5e2e239;p=mesa.git mesa: Don't use alignments < 4. --- diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c index 2856e0f0e0f..d3aadf5074d 100644 --- a/src/mesa/state_tracker/st_atom_constbuf.c +++ b/src/mesa/state_tracker/st_atom_constbuf.c @@ -74,7 +74,7 @@ void st_upload_constants( struct st_context *st, * avoid gratuitous rendering synchronization. */ pipe_reference_buffer(pipe, &cbuf->buffer, NULL ); - cbuf->buffer = pipe_buffer_create(pipe, 1, PIPE_BUFFER_USAGE_CONSTANT, + cbuf->buffer = pipe_buffer_create(pipe, 16, PIPE_BUFFER_USAGE_CONSTANT, paramBytes ); if (0)