zink: set primitive restart cap
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 31 Jul 2020 13:32:23 +0000 (09:32 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Aug 2020 11:17:04 +0000 (11:17 +0000)
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5912>

src/gallium/drivers/zink/zink_screen.c

index 3c1c4d936d1b62216d03d431bf053a739a2f0e2f..bad18fc6967b2eb25e738031753e06abb3d497a6 100644 (file)
@@ -192,6 +192,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
       return screen->feats.imageCubeArray;
 
    case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
+   case PIPE_CAP_PRIMITIVE_RESTART:
       return 1;
 
    case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: