gallium: Only define PIPE_ALIGNSTACK on x86.
authorEric Anholt <eric@anholt.net>
Tue, 17 Dec 2019 05:03:32 +0000 (21:03 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Feb 2020 23:40:04 +0000 (15:40 -0800)
commit72f7d3d5b0969aaa1c0a538dad0b3da09d9db6b6
treecfba8ef3e3b5b17fad4c0091fef503f96f4be83b
parent427870abfd0ebc449ffb1c90e9b5ebb54727ee51
gallium: Only define PIPE_ALIGNSTACK on x86.

At least arm and arm64 don't respect this attribute, producing compiler
warnings in lp_test_format.c.  The gcc and LLVM docs for the attribute
only talk about them being needed on x86.

Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3867>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3867>
src/gallium/include/pipe/p_compiler.h