aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-02-20 09:43:34 -0500
committerTomeu Vizoso <[email protected]>2020-02-27 16:32:23 +0100
commitf5b6dfcb18f821cc5425cd6eea013e28148097c4 (patch)
tree82a4c9b4fe607b3f0ccd511ee861acefc7634ba7 /src/gallium/drivers/panfrost
parent2fea44c6361b171c9313a75a7e9ef4cbf97602f0 (diff)
panfrost: Expose PIPE_CAP_PRIMITIVE_RESTART
It works just fine, we just forgot to expose the CAP. Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3950>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c1
1 files changed, 1 insertions, 0 deletions
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: