lavapipe: enable alpha to one.

CTS seems fine with this.

Cc: 20.3 <mesa-stable>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7499>
(cherry picked from commit a04a146560)
This commit is contained in:
Dave Airlie 2020-11-04 08:59:53 +10:00 committed by Dylan Baker
parent 3ee324d4ec
commit 0e4e0a0d09
2 changed files with 2 additions and 2 deletions

View file

@ -967,7 +967,7 @@
"description": "lavapipe: enable alpha to one.",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": null
},

View file

@ -312,7 +312,7 @@ void lvp_GetPhysicalDeviceFeatures(
.depthBounds = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CAP_DEPTH_BOUNDS_TEST) != 0),
.wideLines = false,
.largePoints = true,
.alphaToOne = false,
.alphaToOne = true,
.multiViewport = true,
.samplerAnisotropy = false, /* FINISHME */
.textureCompressionETC2 = false,