amd/common: Do not use 32-bit loads for shared memory.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 24 Jan 2019 00:28:16 +0000 (01:28 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 6 Feb 2019 21:36:06 +0000 (22:36 +0100)
commit5703ecf6511f614eec2ae063924ddb205de99c72
treeebcb866a5f2ad9a104dd2de95a3a36162150e831
parent8d1718590b643aea744748ae4eeb83e0c82aab0c
amd/common: Do not use 32-bit loads for shared memory.

We use a straight glsl->llvm type conversion so types should already be right.

Also even though the writemasks were changed we we not actually doing 32-bit
things, so this fails miserably.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c