gallium: remove redundant size from the constant buffer
reuse the size of the actual buffer
This commit is contained in:
@@ -92,8 +92,6 @@ void st_upload_constants( struct st_context *st,
|
||||
pipe_buffer_unmap(pipe->screen, cbuf->buffer);
|
||||
}
|
||||
|
||||
cbuf->size = paramBytes;
|
||||
|
||||
st->pipe->set_constant_buffer(st->pipe, id, 0, cbuf);
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user