zink: expose PIPE_CAP_TEXTURE_MULTISAMPLE
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 3 Feb 2020 16:41:18 +0000 (17:41 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 07:55:17 +0000 (07:55 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5159>

src/gallium/drivers/zink/zink_screen.c

index b16a2f9662801697bcb7c0820382d19ade57a885..2030c193e58b787a63cc944be903bc482861105d 100644 (file)
@@ -113,6 +113,9 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
       return 1;
 #endif
 
+   case PIPE_CAP_TEXTURE_MULTISAMPLE:
+      return 1;
+
    case PIPE_CAP_TEXTURE_SWIZZLE:
       return 1;