Re: [Mesa-dev] [PATCH] swr: Align swr_context allocation to SIMD alignment.

2017-04-13 Thread Rowley, Timothy O
Reviewed-by: Tim Rowley mailto:timothy.o.row...@intel.com>> On Apr 12, 2017, at 6:43 PM, Bruce Cherniak mailto:bruce.chern...@intel.com>> wrote: The context now contains SIMD vectors which must be aligned (specifically samplePositions in the rastState in the derived state). Failure to align ca

[Mesa-dev] [PATCH] swr: Align swr_context allocation to SIMD alignment.

2017-04-12 Thread Bruce Cherniak
The context now contains SIMD vectors which must be aligned (specifically samplePositions in the rastState in the derived state). Failure to align can result in segv crash on unaligned memory access in vector instructions. --- src/gallium/drivers/swr/swr_context.cpp | 7 +-- 1 file changed,