From 0c2b29e3ac36194220c45eeafa37569a573ca84a Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 7 Dec 2020 12:38:46 +0100 Subject: [PATCH] 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 Reviewed-by: Rhys Perry Part-of: (cherry picked from commit 59b1578176a786e3c226c0b2b53fed378812288e) --- .pick_status.json | 2 +- src/amd/vulkan/radv_device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 76c22e36138..1b5add5613b 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -85,7 +85,7 @@ "description": "radv: disable alphaToOne feature", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ae36214bbad..531dd5f7f2b 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -978,7 +978,7 @@ void radv_GetPhysicalDeviceFeatures( .depthBounds = true, .wideLines = true, .largePoints = true, - .alphaToOne = true, + .alphaToOne = false, .multiViewport = true, .samplerAnisotropy = true, .textureCompressionETC2 = radv_device_supports_etc(pdevice),