aco: fix alignment of vectors with 4 elements
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 25 May 2020 16:33:18 +0000 (18:33 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 9 Jun 2020 21:25:38 +0000 (21:25 +0000)
commit5446e3cf2e381d061e625291ce3d5d587db2e6e0
treeac31048e1b00501958dc2100d58811774d5232b4
parentc7bd0f8cd53e966003b2f5f70ed591f0675d1444
aco: fix alignment of vectors with 4 elements

I think this case was just missing.

This fixes a bunch of 16-bit storage related CTS failures like
dEQP-VK.ssbo.phys.layout.single_basic_type.std430.u16vec4.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5226>
src/amd/compiler/aco_instruction_selection.cpp