From 4e3c81517bafe73015e4af4bdce0eae0cab7751c Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 30 Dec 2019 15:27:21 +0100 Subject: [PATCH] radv: Disable VK_EXT_sample_locations on GFX10. Workaround for https://gitlab.freedesktop.org/mesa/mesa/issues/2163 CC: Reviewed-by: Samuel Pitoiset Tested-by: Marge Bot Part-of: --- src/amd/vulkan/radv_extensions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index f41bda1c368..be03df7e079 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -133,7 +133,8 @@ EXTENSIONS = [ Extension('VK_EXT_pipeline_creation_feedback', 1, True), Extension('VK_EXT_post_depth_coverage', 1, 'device->rad_info.chip_class >= GFX10'), Extension('VK_EXT_queue_family_foreign', 1, True), - Extension('VK_EXT_sample_locations', 1, True), + # Disable sample locations on GFX10 until the CTS failures have been resolved. + Extension('VK_EXT_sample_locations', 1, 'device->rad_info.chip_class < GFX10'), Extension('VK_EXT_sampler_filter_minmax', 1, 'device->rad_info.chip_class >= GFX7'), Extension('VK_EXT_scalar_block_layout', 1, 'device->rad_info.chip_class >= GFX7'), Extension('VK_EXT_shader_demote_to_helper_invocation',1, 'device->use_aco'), -- 2.30.2