lpr->base.bind,
lpr->base.format,
width, height,
- 16,
+ 64,
&lpr->row_stride[0] );
if (lpr->dt == NULL)
* read/write always LP_RASTER_BLOCK_SIZE pixels, but the element
* offset doesn't need to be aligned to LP_RASTER_BLOCK_SIZE.
*/
- lpr->data = align_malloc(bytes + (LP_RASTER_BLOCK_SIZE - 1) * 4 * sizeof(float), 16);
+ lpr->data = align_malloc(bytes + (LP_RASTER_BLOCK_SIZE - 1) * 4 * sizeof(float), 64);
/*
* buffers don't really have stride but it's probably safer
* (for code doing same calculations for buffers and textures)
static void
alloc_image_data(struct llvmpipe_resource *lpr)
{
- uint alignment = MAX2(16, util_cpu_caps.cacheline);
+ uint alignment = MAX2(64, util_cpu_caps.cacheline);
uint level;
uint offset = 0;