mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
i915g: Use alignment of 64 instead of 16 for buffer allocation
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
809d3a7d25
commit
4329e99b23
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ i915_buffer_create(struct pipe_screen *screen,
|
|||
buf->b.vtbl = &i915_buffer_vtbl;
|
||||
pipe_reference_init(&buf->b.b.reference, 1);
|
||||
buf->b.b.screen = screen;
|
||||
buf->data = align_malloc(template->width0, 16);
|
||||
buf->data = align_malloc(template->width0, 64);
|
||||
buf->free_on_destroy = TRUE;
|
||||
|
||||
if (!buf->data)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue