diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-02-22 14:16:08 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-02-22 17:06:55 +0100 |
commit | a1fdd4a4a73604469b6204a56457b08f8ae4a948 (patch) | |
tree | de32caddd959a1fd56c8a5218d7557cfeaf419bb /src/amd/vulkan/radv_device.c | |
parent | ae2cb7280436ab3fe24afef510d30201e54b795c (diff) |
radv: Fix float16 interpolation set up.
float16 types can have non-flat interpolation so set up the HW
correctly for that.
Fixes: 62024fa7750 "radv: enable VK_KHR_16bit_storage extension / 16bit storage features"
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 2aa8b3611e3..fc04de21025 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -806,7 +806,7 @@ void radv_GetPhysicalDeviceFeatures2( features->storageBuffer16BitAccess = enabled; features->uniformAndStorageBuffer16BitAccess = enabled; features->storagePushConstant16 = enabled; - features->storageInputOutput16 = enabled; + features->storageInputOutput16 = enabled && HAVE_LLVM >= 0x900; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: { |