iris: we can do multisample Z resolves
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Aug 2018 19:48:24 +0000 (12:48 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_screen.c

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