OSDN Git Service

radv: Allow interpolation on non-float types.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 22 Feb 2019 13:24:28 +0000 (14:24 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 6 Mar 2019 21:35:53 +0000 (21:35 +0000)
commitd9d90ac6631324e891a2877adc6febe5f91ac218
treefdc0a32b051aa255d4104059df40bf97ebb1914c
parente8d3c8458291e02459146bb458547baec93d2efe
radv: Allow interpolation on non-float types.

In particular structs containing floats and 16-bit floating point
types.

Fixes: 62024fa7750 "radv: enable VK_KHR_16bit_storage extension / 16bit storage features"
Fixes: da295946361 "spirv: Only split blocks"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109735
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit f3247841040a202faffe4709c07da9bd41693580)
src/amd/vulkan/radv_nir_to_llvm.c