From ce0804ccc248dbb218dc92432e2e6a593e590072 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 68825199861..ebbee3299b7 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 5fcef44c34f..bdbe42bb4fe 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -940,7 +940,7 @@ void radv_GetPhysicalDeviceFeatures( .depthBounds = true, .wideLines = true, .largePoints = true, - .alphaToOne = true, + .alphaToOne = false, .multiViewport = true, .samplerAnisotropy = true, .textureCompressionETC2 = radv_device_supports_etc(pdevice),