radv: Implement buffer stores with less than 4 components

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 7 January 2019 13:54 EST

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")

9a45a190ad radv: Implement buffer stores with less than 4 components.
src/amd/common/ac_nir_to_llvm.c | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share