From 906becec7068d06e8a0947be951658a9c8a6083d Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 11 Aug 2018 12:48:24 -0700 Subject: [PATCH] iris: we can do multisample Z resolves --- src/gallium/drivers/iris/iris_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index e59770fc648..5dd74819316 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -161,6 +161,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_TEX_TXF_LZ: case PIPE_CAP_TGSI_CLOCK: case PIPE_CAP_TGSI_BALLOT: + case PIPE_CAP_MULTISAMPLE_Z_RESOLVE: return true; case PIPE_CAP_FRAGMENT_COLOR_CLAMPED: @@ -281,7 +282,6 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 0; case PIPE_CAP_FRAMEBUFFER_MSAA_CONSTRAINTS: return 0; - case PIPE_CAP_MULTISAMPLE_Z_RESOLVE: case PIPE_CAP_RESOURCE_FROM_USER_MEMORY: case PIPE_CAP_DEVICE_RESET_STATUS_QUERY: case PIPE_CAP_TGSI_TXQS: -- 2.30.2