zink: support restart with PIPE_PRIM_LINES_ADJACENCY if ext is available

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15978>
(cherry picked from commit cd9424d93f)
This commit is contained in:
Mike Blumenkrantz 2022-04-15 12:57:25 -04:00 committed by Dylan Baker
parent c96f9f6678
commit 59525ce756
2 changed files with 2 additions and 1 deletions

View file

@ -1364,7 +1364,7 @@
"description": "zink: support restart with PIPE_PRIM_LINES_ADJACENCY if ext is available",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"because_sha": null
},
{

View file

@ -338,6 +338,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
if (screen->info.have_EXT_primitive_topology_list_restart) {
modes |= BITFIELD_BIT(PIPE_PRIM_POINTS) |
BITFIELD_BIT(PIPE_PRIM_LINES) |
BITFIELD_BIT(PIPE_PRIM_LINES_ADJACENCY) |
BITFIELD_BIT(PIPE_PRIM_TRIANGLES) |
BITFIELD_BIT(PIPE_PRIM_TRIANGLES_ADJACENCY);
if (screen->info.list_restart_feats.primitiveTopologyPatchListRestart)