OSDN Git Service

radv: Disable VK_EXT_sample_locations on GFX10.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 30 Dec 2019 14:27:21 +0000 (15:27 +0100)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 15 Jan 2020 18:45:48 +0000 (10:45 -0800)
Workaround for https://gitlab.freedesktop.org/mesa/mesa/issues/2163

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@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

index a081e2d..b7fe280 100644 (file)
@@ -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'),