Skip to content
Snippets Groups Projects
Commit e35cfa15 authored by George Kyriazis's avatar George Kyriazis Committed by Emil Velikov
Browse files

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: default avatarBruce Cherniak <bruce.cherniak@intel.com>
(cherry picked from commit 00847e4f)
parent 34f902e1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment