diff options
author | Siavash Eliasi <[email protected]> | 2013-12-03 08:20:32 +0330 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-29 09:09:41 -0700 |
commit | 4329e99b2368c7e91bef848a6f218abe79bb6bf9 (patch) | |
tree | e0c3bf53cd2aaecfa4f6560545768acf8952c1d8 /src/gallium | |
parent | 809d3a7d25cd97a18e4ce4182103f66661d0a27d (diff) |
i915g: Use alignment of 64 instead of 16 for buffer allocation
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/i915/i915_resource_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_resource_buffer.c b/src/gallium/drivers/i915/i915_resource_buffer.c index 1566dc02c8b..9fb3855a37e 100644 --- a/src/gallium/drivers/i915/i915_resource_buffer.c +++ b/src/gallium/drivers/i915/i915_resource_buffer.c @@ -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) |