From: Samuel Pitoiset Date: Thu, 21 Mar 2019 08:57:32 +0000 (+0100) Subject: radv: enable VK_AMD_gpu_shader_half_float X-Git-Tag: upstream/19.3.0~7481 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09b4049be35898b756e6c2a8911ad094c69ac709;p=platform%2Fupstream%2Fmesa.git 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 --- diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index 4b118b4..3d0a0c4 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),