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>
(cherry picked from commit 59b1578176)
This commit is contained in:
Samuel Pitoiset 2020-12-07 12:38:46 +01:00 committed by Dylan Baker
parent 49f2b5f5e0
commit ce0804ccc2
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@
"description": "radv: disable alphaToOne feature",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": null
},

View file

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