commit | e35cfa15cf2aa894dd267309eed250f6bc3c68c6 | [log] [tgz] |
---|---|---|
author | George Kyriazis <george.kyriazis@intel.com> | Wed Jan 18 17:09:08 2017 -0600 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Tue Jan 24 02:24:38 2017 +0000 |
tree | 33ff80a18688af9a8fcd08146f23c7b71aa9c7e6 | |
parent | 34f902e17efb2f3265d5629f387fdc9a8f08091d [diff] |
swr: Align query results allocation Some query results struct contents are declared as cache line aligned. Use aligned malloc, and align the whole struct, to be safe. Fixes crash when compiling with clang. CC: <mesa-stable@lists.freedesktop.org> Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com> (cherry picked from commit 00847e4f14dd237dfcdb2c3d15be1325a08ccf5a)