From 4ffc7a50cbe5f09e4a40b5c1e3c8c0dae8974ff6 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 10 May 2022 13:51:30 +0200 Subject: [PATCH] radv: disable VK_AMD_shader_fragment_mask on GFX11 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit No FMASK on GFX11 which means I don't think we can expose this ext. Signed-off-by: Samuel Pitoiset Reviewed-by: Timur Kristóf Part-of: --- docs/features.txt | 2 +- src/amd/vulkan/radv_device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 0a59d3a..bbe24a6 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -597,7 +597,7 @@ Khronos extensions that are not part of any Vulkan version: VK_AMD_shader_core_properties DONE (radv) VK_AMD_shader_core_properties2 DONE (radv) VK_AMD_shader_explicit_vertex_parameter DONE (radv) - VK_AMD_shader_fragment_mask DONE (radv) + VK_AMD_shader_fragment_mask DONE (radv/gfx10.3-) VK_AMD_shader_image_load_store_lod DONE (radv) VK_AMD_shader_trinary_minmax DONE (radv) VK_AMD_texture_gather_bias_lod DONE (radv) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 058ea09..b2e3c73 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -544,7 +544,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .AMD_shader_core_properties = true, .AMD_shader_core_properties2 = true, .AMD_shader_explicit_vertex_parameter = true, - .AMD_shader_fragment_mask = true, + .AMD_shader_fragment_mask = device->rad_info.gfx_level < GFX11, .AMD_shader_image_load_store_lod = true, .AMD_shader_trinary_minmax = true, .AMD_texture_gather_bias_lod = true, -- 2.7.4