From 9c53a3bb223592471d38a4efbfca8d58dd47e432 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Tue, 10 Mar 2020 09:21:09 +0200 Subject: [PATCH] iris: toggle on PIPE_CAP_MIXED_COLOR_DEPTH_BITS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Ilia Mirkin Tested-by: Marge Bot Part-of: --- 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; -- 2.30.2