Module: Mesa
Branch: main
Commit: 47f666b64bf6f16fd0c17a18e9f3a8b5cfada768
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=47f666b64bf6f16fd0c17a18e9f3a8b5cfada768

Author: Samuel Pitoiset <[email protected]>
Date:   Thu Nov 30 09:07:13 2023 +0100

radv: enable extendedDynamicState3AlphaToCoverageEnable on GFX11

This is now supported and this allows Zink to enable full ds3 mode for
even less stuttering. DXVK also uses dynamic alpha to coverage
sometimes.

Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26250>

---

 src/amd/vulkan/radv_physical_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_physical_device.c 
b/src/amd/vulkan/radv_physical_device.c
index 56efc3bd928..26161212289 100644
--- a/src/amd/vulkan/radv_physical_device.c
+++ b/src/amd/vulkan/radv_physical_device.c
@@ -980,7 +980,7 @@ radv_physical_device_get_features(const struct 
radv_physical_device *pdevice, st
       .extendedDynamicState3TessellationDomainOrigin = true,
       .extendedDynamicState3PolygonMode = true,
       .extendedDynamicState3SampleMask = true,
-      .extendedDynamicState3AlphaToCoverageEnable = 
pdevice->rad_info.gfx_level < GFX11 && !pdevice->use_llvm,
+      .extendedDynamicState3AlphaToCoverageEnable = !pdevice->use_llvm,
       .extendedDynamicState3LogicOpEnable = true,
       .extendedDynamicState3LineStippleEnable = true,
       .extendedDynamicState3ColorBlendEnable = !pdevice->use_llvm,

Reply via email to