Mesa (main): radv: disable VK_AMD_shader_fragment_mask on GFX11
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu May 26 08:02:21 UTC 2022
Module: Mesa
Branch: main
Commit: 4ffc7a50cbe5f09e4a40b5c1e3c8c0dae8974ff6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ffc7a50cbe5f09e4a40b5c1e3c8c0dae8974ff6
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Tue May 10 13:51:30 2022 +0200
radv: disable VK_AMD_shader_fragment_mask on GFX11
No FMASK on GFX11 which means I don't think we can expose this ext.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16557>
---
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 0a59d3a9bee..bbe24a657fc 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 058ea09203d..b2e3c7382f8 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,
More information about the mesa-commit
mailing list