From 09b4049be35898b756e6c2a8911ad094c69ac709 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 21 Mar 2019 09:57:32 +0100 Subject: [PATCH] radv: enable VK_AMD_gpu_shader_half_float Should be safe to enable as all instructions seem to support 16-bit. Unfortunately, there is no CTS test. Signed-off-by: Samuel Pitoiset Acked-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index 4b118b4ba82..3d0a0c4343e 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -123,6 +123,7 @@ EXTENSIONS = [ Extension('VK_EXT_vertex_attribute_divisor', 3, True), Extension('VK_AMD_draw_indirect_count', 1, True), Extension('VK_AMD_gcn_shader', 1, True), + Extension('VK_AMD_gpu_shader_half_float', 1, 'device->rad_info.chip_class >= VI && HAVE_LLVM >= 0x0800'), Extension('VK_AMD_gpu_shader_int16', 1, 'device->rad_info.chip_class >= VI'), Extension('VK_AMD_rasterization_order', 1, 'device->has_out_of_order_rast'), Extension('VK_AMD_shader_core_properties', 1, True), -- 2.30.2