Mesa (master): lavapipe: enable alpha to one.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 11 08:35:16 UTC 2020


Module: Mesa
Branch: master
Commit: a04a146560717014937d9e13ad24eb33cb6f0a44
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a04a146560717014937d9e13ad24eb33cb6f0a44

Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Nov  4 08:59:53 2020 +1000

lavapipe: enable alpha to one.

CTS seems fine with this.

Cc: 20.3 <mesa-stable>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7499>

---

 src/gallium/frontends/lavapipe/lvp_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,



More information about the mesa-commit mailing list