From 0e4e0a0d09adc4e31cde547c17b97227aa9997da Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 4 Nov 2020 08:59:53 +1000 Subject: [PATCH] lavapipe: enable alpha to one. CTS seems fine with this. Cc: 20.3 Reviewed-by: Roland Scheidegger Part-of: (cherry picked from commit a04a146560717014937d9e13ad24eb33cb6f0a44) --- .pick_status.json | 2 +- src/gallium/frontends/lavapipe/lvp_device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 353e55f5f1a..aa41ec4ff98 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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 }, diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 0ec458dcc2b..5401db9ad99 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -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,