From 59b1578176a786e3c226c0b2b53fed378812288e 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: --- 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),