summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_extensions.py
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-10-18 18:04:52 +0200
committerSamuel Pitoiset <[email protected]>2019-10-21 08:47:28 +0200
commit9da94e510c3d751f10e60151fb9b50f419b5cd26 (patch)
tree5e11a77bc831a0716008057a3e9a2e8b615944d8 /src/amd/vulkan/radv_extensions.py
parent4c9b9ed5f9c83d97ce6ec37c0dd5bfed53f913dc (diff)
radv: enable VK_KHR_shader_float_controls on GFX6-GFX7
Disable 16-bit features because fp16 isn't exposed on these chips. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_extensions.py')
-rw-r--r--src/amd/vulkan/radv_extensions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py
index 11d907ed341..7cdd6209d1a 100644
--- a/src/amd/vulkan/radv_extensions.py
+++ b/src/amd/vulkan/radv_extensions.py
@@ -89,7 +89,7 @@ EXTENSIONS = [
Extension('VK_KHR_shader_atomic_int64', 1, 'LLVM_VERSION_MAJOR >= 9'),
Extension('VK_KHR_shader_clock', 1, True),
Extension('VK_KHR_shader_draw_parameters', 1, True),
- Extension('VK_KHR_shader_float_controls', 1, 'device->rad_info.chip_class >= GFX8 && !device->use_aco'),
+ Extension('VK_KHR_shader_float_controls', 1, '!device->use_aco'),
Extension('VK_KHR_shader_float16_int8', 1, '!device->use_aco'),
Extension('VK_KHR_storage_buffer_storage_class', 1, True),
Extension('VK_KHR_surface', 25, 'RADV_HAS_SURFACE'),