radv: Implement buffer stores with less than 4 components.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 24 Dec 2018 14:41:56 +0000 (15:41 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 7 Jan 2019 13:54:14 +0000 (14:54 +0100)
commit9a45a190ad22849a492506389413046948e0b093
treeef7555c0d84d39fae76e02749183694f3f33c92c
parent00ad77b9f683e561b1ac45fbb89eb2bafe45c8c6
radv: Implement buffer stores with less than 4 components.

We started using it in the btoi paths for r32g32b32, and the LLVM IR
checker will complain about it because we end up with intrinsics with
the wrong type extension in the name.

Fixes: 593996bc02 ("radv: implement buffer to image operations for R32G32B32")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c