radv: bitcast 16-bit outputs to integers
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 6 Dec 2018 12:10:41 +0000 (12:10 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 19 Feb 2019 11:03:18 +0000 (11:03 +0000)
commit64065aa504c4872a15f7b0894b6037a6b2bcae65
treefd2bdf17d29d6a47156238f1629d5933e94df5e2
parent23b485c920a64ba302a908e7b13c89bc7a76565e
radv: bitcast 16-bit outputs to integers

16-bit outputs are stored as 16-bit floats in the outputs array, so they
have to be bitcast.

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