diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c index 18c2362e98..169fe87b78 100644 --- a/src/gallium/drivers/llvmpipe/lp_texture.c +++ b/src/gallium/drivers/llvmpipe/lp_texture.c @@ -76,7 +76,7 @@ llvmpipe_texture_layout(struct pipe_screen *screen, pt->depth[level] = depth; pt->nblocksx[level] = pf_get_nblocksx(&pt->block, width); pt->nblocksy[level] = pf_get_nblocksy(&pt->block, height); - lpt->stride[level] = pt->nblocksx[level]*pt->block.size; + lpt->stride[level] = align(pt->nblocksx[level]*pt->block.size, 16); lpt->level_offset[level] = buffer_size; |