radv: ensure export arguments are always float
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 6 Dec 2018 12:11:00 +0000 (12:11 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 19 Feb 2019 11:03:22 +0000 (11:03 +0000)
commit0ca550e01ac55c67c2deef50f5cb750a0181352b
tree2f04bf13906dfbb948e43dec7960d65d04aa04c8
parent64065aa504c4872a15f7b0894b6037a6b2bcae65
radv: ensure export arguments are always float

So that the signature is correct and consistent, the inputs to a export
intrinsic should always be 32-bit floats.

This and the previous commit fixes a large amount crashes from
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_int_*
tests

Fixes: b722b29f10d ('radv: add support for 16bit input/output')
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_nir_to_llvm.c