amd/common: Use correct writemask for shared memory stores.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 23 Jan 2019 21:44:05 +0000 (22:44 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 6 Feb 2019 21:35:49 +0000 (22:35 +0100)
commit3c24fc64c7a4e564d84843fab7db25963d574d99
tree1e6e09bc90b00679d97625f957a76d54ec9634ba
parent00253ab2c4983fc300e3c8d21629b69257995bcf
amd/common: Use correct writemask for shared memory stores.

The check was for 1 bit being set, which is clearly not what we want.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c