zink: use primconvert to get rid of 8-bit indices
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user