radv: fix size of sqtt_file_chunk_asic_info on 32-bit system
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Feb 2020 14:37:34 +0000 (15:37 +0100)
committerEric Anholt <eric@anholt.net>
Sat, 29 Feb 2020 05:54:54 +0000 (05:54 +0000)
commit02f3af2ad1eb1732d0bfb781de5e781bf83b400d
treeae69d13131fd6de92740b6f8655c018212c2bbbd
parent33f604a33187cb001bfc389a43a98e8ef634bf86
radv: fix size of sqtt_file_chunk_asic_info on 32-bit system

The struct is actually 716 bytes, but on 64-bit systems the compiler
aligns it to 720. Add padding to make sure it's always 720.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2580
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2578
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3996>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3996>
src/amd/vulkan/radv_rgp.c