radv: disable VK_AMD_shader_fragment_mask on GFX11
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 10 May 2022 11:51:30 +0000 (13:51 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 26 May 2022 07:43:38 +0000 (07:43 +0000)
No FMASK on GFX11 which means I don't think we can expose this ext.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16557>

docs/features.txt
src/amd/vulkan/radv_device.c

index 0a59d3a..bbe24a6 100644 (file)
@@ -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)
index 058ea09..b2e3c73 100644 (file)
@@ -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,