Mesa (master): iris: toggle on PIPE_CAP_MIXED_COLOR_DEPTH_BITS

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 12 05:26:02 UTC 2020


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

Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Tue Mar 10 09:21:09 2020 +0200

iris: toggle on PIPE_CAP_MIXED_COLOR_DEPTH_BITS

This enables additional EGL configs where we have depth/stencil buffer
with different number of bits per pixel than color buffer has. This
enables some Android games to work that require such config.

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4127>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4127>

---

 src/gallium/drivers/iris/iris_screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c
index 561d9146aad..d6c7e4b0ac5 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -199,6 +199,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_GL_SPIRV_VARIABLE_POINTERS:
    case PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION:
    case PIPE_CAP_NATIVE_FENCE_FD:
+   case PIPE_CAP_MIXED_COLOR_DEPTH_BITS:
       return true;
    case PIPE_CAP_FBFETCH:
       return BRW_MAX_DRAW_BUFFERS;



More information about the mesa-commit mailing list