radv: enable VK_AMD_gpu_shader_int16
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 21 Mar 2019 09:24:11 +0000 (10:24 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 28 Mar 2019 12:02:53 +0000 (13:02 +0100)
This extension allows 16-bit support to Frexp/FrexpStruct.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_extensions.py

index 421f8b926ea817d6c582d6901349a50e40967fed..79562ff6e97be850f3d485e86cef82ab0682bcc7 100644 (file)
@@ -122,6 +122,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_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),
     Extension('VK_AMD_shader_info',                       1, True),