summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-04-12 08:53:36 +0200
committerSamuel Pitoiset <[email protected]>2019-04-15 10:43:55 +0200
commit14f03978ed0e9b10a3f56668bc42dbb39537bb58 (patch)
tree4f8a05c8deff6879942454405517cfbed15e7b78 /src/amd/vulkan/radv_device.c
parentbbe8febd93e1f2b1641ee23d7dd8d5032daede4a (diff)
radv: enable VK_KHR_shader_float16_int8
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index dacaac173ae..c517b56cd0f 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -902,7 +902,7 @@ void radv_GetPhysicalDeviceFeatures2(
VkPhysicalDeviceFloat16Int8FeaturesKHR *features =
(VkPhysicalDeviceFloat16Int8FeaturesKHR*)ext;
bool enabled = pdevice->rad_info.chip_class >= VI;
- features->shaderFloat16 = VK_FALSE;
+ features->shaderFloat16 = enabled && HAVE_LLVM >= 0x0800;
features->shaderInt8 = enabled;
break;
}