radv: always load 3 channels for formats that need to be shuffled
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 15 Mar 2019 09:36:00 +0000 (10:36 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 15 Mar 2019 10:35:52 +0000 (11:35 +0100)
commitd5befdbe4ad4523e58074063a3b619f389fb9f1f
tree2ba65a5f123f91a52c39772d22dd8032a9b1b242
parentebc15ecde5b37b6d0fa3adeffa49aae71eb8bd7e
radv: always load 3 channels for formats that need to be shuffled

This fixes a rendering issue with Hellblade and DXVK.

Fixes: a66b186bebf ("radv: use typed buffer loads for vertex input fetches")
Reported-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c