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 b27d409cfd
commit 24d6489d0d
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -347,6 +347,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)