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>
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;