From: Tapani Pälli Date: Tue, 10 Mar 2020 07:21:09 +0000 (+0200) Subject: iris: toggle on PIPE_CAP_MIXED_COLOR_DEPTH_BITS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c53a3bb223592471d38a4efbfca8d58dd47e432;p=mesa.git 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 Reviewed-by: Ilia Mirkin Tested-by: Marge Bot Part-of: --- 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;