radv: fix loading 64-bit GS inputs
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Sep 2019 14:21:57 +0000 (16:21 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Sep 2019 15:16:36 +0000 (17:16 +0200)
commit68820007fddbb5b79f1b2b08e66ef14092053a95
tree164fa93ed65c0f0f5c0d1c26044d5d11e2cc485e
parent7999e10cab93fe854fbc7accd4d8cf2e60726b75
radv: fix loading 64-bit GS inputs

We have to load 2 32-bit integer and to cast correctly.

This fixes crashes with gs-double-interpolator.vk_shader_test.

Cc: 19.2 <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111734
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c