zink: remove ADJACENCY prim types from primconvert path

we can (and do) actually handle these natively

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7139>
This commit is contained in:
Mike Blumenkrantz
2020-10-14 10:39:24 -04:00
parent d656c600a3
commit 9915c540b2
+3 -1
View File
@@ -221,7 +221,9 @@ zink_draw_vbo(struct pipe_context *pctx,
util_draw_vbo_without_prim_restart(pctx, dinfo);
return;
}
if (dinfo->mode >= PIPE_PRIM_QUADS ||
if (dinfo->mode == PIPE_PRIM_QUADS ||
dinfo->mode == PIPE_PRIM_QUAD_STRIP ||
dinfo->mode == PIPE_PRIM_POLYGON ||
dinfo->mode == PIPE_PRIM_LINE_LOOP) {
if (!u_trim_pipe_prim(dinfo->mode, (unsigned *)&dinfo->count))
return;