Mesa (master): radv: disable alphaToOne feature

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 8 10:02:21 UTC 2020


Module: Mesa
Branch: master
Commit: 59b1578176a786e3c226c0b2b53fed378812288e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59b1578176a786e3c226c0b2b53fed378812288e

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Dec  7 12:38:46 2020 +0100

radv: disable alphaToOne feature

The feature was exposed but completely ignored by the driver. Other
AMD drivers don't expose it as well, probably because it's complicated
to implement alpha-to-coverage properly. Let's disable it.

Cc: mesa-stable.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7966>

---

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

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index cbe436744ca..a403243b1b3 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -976,7 +976,7 @@ void radv_GetPhysicalDeviceFeatures(
 		.depthBounds                              = true,
 		.wideLines                                = true,
 		.largePoints                              = true,
-		.alphaToOne                               = true,
+		.alphaToOne                               = false,
 		.multiViewport                            = true,
 		.samplerAnisotropy                        = true,
 		.textureCompressionETC2                   = radv_device_supports_etc(pdevice),



More information about the mesa-commit mailing list