From 1f156f004bd27b94bb79e57dd174b5a8f69021c3 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 11 Aug 2018 12:47:46 -0700 Subject: [PATCH] iris: deal with Marek's new MSAA caps storage sample count is equal to sample count for us, for now, so 0 the pipe cap and ignore the new parameter --- src/gallium/drivers/iris/iris_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 32c1841262e..e59770fc648 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -279,6 +279,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 32; case PIPE_CAP_VIEWPORT_SUBPIXEL_BITS: 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: -- 2.30.2