mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 09:58:05 +02:00
zink: use primconvert to get rid of 8-bit indices
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
2942becfe9
commit
8575295c17
1 changed files with 2 additions and 1 deletions
|
|
@ -942,7 +942,8 @@ zink_draw_vbo(struct pipe_context *pctx,
|
|||
struct zink_rasterizer_state *rast_state = ctx->rast_state;
|
||||
|
||||
if (dinfo->mode >= PIPE_PRIM_QUADS ||
|
||||
dinfo->mode == PIPE_PRIM_LINE_LOOP) {
|
||||
dinfo->mode == PIPE_PRIM_LINE_LOOP ||
|
||||
dinfo->index_size == 1) {
|
||||
if (!u_trim_pipe_prim(dinfo->mode, (unsigned *)&dinfo->count))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue