iris: deal with Marek's new MSAA caps
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Aug 2018 19:47:46 +0000 (12:47 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
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

index 32c1841262e8a8c7d279ea4cc3be3c5d4bdd66b2..e59770fc6485d6fa492b116efc22957058d6d932 100644 (file)
@@ -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: