radv: fix adjusting vertex fetches since 16bit support
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 25 Jul 2018 12:55:31 +0000 (14:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 26 Jul 2018 06:57:43 +0000 (08:57 +0200)
commitff0d553818c9f6a28f7de109d13afe9b25a802dc
tree6f06835764a8ca1577674afb178ae470ee99c5f1
parent6465bf0015662a164b71fd950a883e9723eb2b94
radv: fix adjusting vertex fetches since 16bit support

Move the integer conversion after the fixup.

This fixes some regressions with
dEQP-VK.pipeline.vertex_input.single_attribute.mat4.as_a2r10g10b10*

Fixes: b722b29f10 ("radv: add support for 16bit input/output")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c