From: Alyssa Rosenzweig Date: Thu, 20 Feb 2020 14:43:34 +0000 (-0500) Subject: panfrost: Expose PIPE_CAP_PRIMITIVE_RESTART X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5b6dfcb18f821cc5425cd6eea013e28148097c4;p=mesa.git panfrost: Expose PIPE_CAP_PRIMITIVE_RESTART It works just fine, we just forgot to expose the CAP. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 0ad0c2bf638..6f40ca768bb 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -125,6 +125,7 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_TGSI_INSTANCEID: case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR: + case PIPE_CAP_PRIMITIVE_RESTART: return 1; case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS: