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@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7966>
This commit is contained in:
Samuel Pitoiset 2020-12-07 12:38:46 +01:00
parent 34b08a298d
commit 59b1578176

View file

@ -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),