diff options
author | Samuel Pitoiset <[email protected]> | 2019-04-15 17:42:20 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-04-16 08:22:54 +0200 |
commit | 8704bd5588fc8221e09329dc8d5175be764215e3 (patch) | |
tree | 949d5914be9be0c632e740a75d6e06665d63059e /src/amd/vulkan/radv_device.c | |
parent | c45c889f95b07cc95cf5ad6fdefc2fa9bb66b960 (diff) |
radv: enable shaderInt8 on SI and CIK
No CTS failures.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 62ee32ecf2c..1f77dcadb17 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -902,9 +902,8 @@ void radv_GetPhysicalDeviceFeatures2( case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR: { VkPhysicalDeviceFloat16Int8FeaturesKHR *features = (VkPhysicalDeviceFloat16Int8FeaturesKHR*)ext; - bool enabled = pdevice->rad_info.chip_class >= VI; - features->shaderFloat16 = enabled && HAVE_LLVM >= 0x0800; - features->shaderInt8 = enabled; + features->shaderFloat16 = pdevice->rad_info.chip_class >= VI && HAVE_LLVM >= 0x0800; + features->shaderInt8 = true; break; } default: |