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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user