From: Mike Blumenkrantz Date: Fri, 31 Jul 2020 13:32:23 +0000 (-0400) Subject: zink: set primitive restart cap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54c68498d4c4627a56fd73f8a4becbed3327cad6;p=mesa.git zink: set primitive restart cap Reviewed-by: Erik Faye-Lund Part-of: --- diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 3c1c4d936d1..bad18fc6967 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -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: