Mesa (staging/19.3): radv: Disable VK_EXT_sample_locations on GFX10.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jan 15 20:22:15 UTC 2020
Module: Mesa
Branch: staging/19.3
Commit: 85b233cc54e50b067a54836a247aec48c91f782b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85b233cc54e50b067a54836a247aec48c91f782b
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Mon Dec 30 15:27:21 2019 +0100
radv: Disable VK_EXT_sample_locations on GFX10.
Workaround for https://gitlab.freedesktop.org/mesa/mesa/issues/2163
CC: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3236>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3236>
(cherry picked from commit 4e3c81517bafe73015e4af4bdce0eae0cab7751c)
---
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 a081e2da87a..b7fe280187f 100644
--- a/src/amd/vulkan/radv_extensions.py
+++ b/src/amd/vulkan/radv_extensions.py
@@ -130,7 +130,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'),
More information about the mesa-commit
mailing list