diff options
author | Samuel Pitoiset <[email protected]> | 2020-06-05 09:27:01 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2020-06-17 18:12:51 +0200 |
commit | 51fb3b09dc1cd096f727f712c18a023c3886f660 (patch) | |
tree | 855f0d4db280d72bad414d5302eaa0ddf97c8f43 /src/amd/vulkan/radv_extensions.py | |
parent | abfe28a6bb637237b3a6873eda8b09cfe4faf1e2 (diff) |
radv/aco: enable FP16 features/extensions on GFX9+
This enables shaderFloat16, VK_AMD_gpu_shader_half_float and
VK_AMD_gpu_shader_int16.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5347>
Diffstat (limited to 'src/amd/vulkan/radv_extensions.py')
-rw-r--r-- | src/amd/vulkan/radv_extensions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index c28d793aff5..68984000d56 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -165,8 +165,8 @@ EXTENSIONS = [ Extension('VK_AMD_device_coherent_memory', 1, 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->use_aco && device->rad_info.has_packed_math_16bit'), - Extension('VK_AMD_gpu_shader_int16', 1, '!device->use_aco && device->rad_info.has_packed_math_16bit'), + Extension('VK_AMD_gpu_shader_half_float', 1, 'device->rad_info.has_packed_math_16bit'), + Extension('VK_AMD_gpu_shader_int16', 1, 'device->rad_info.has_packed_math_16bit'), Extension('VK_AMD_memory_overallocation_behavior', 1, True), # Disable mixed attachment samples on GFX6-GFX7 until the CTS failures have been resolved. Extension('VK_AMD_mixed_attachment_samples', 1, 'device->rad_info.chip_class >= GFX8'), |