diff options
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 08b799b66bf..1b8558c1c2c 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -1601,7 +1601,7 @@ panfrost_draw_vbo( ctx->padded_count = pan_expand_shift_odd(so); } else { - ctx->padded_count = ctx->vertex_count; + ctx->padded_count = vertex_count; /* Reset instancing state */ ctx->payloads[PIPE_SHADER_VERTEX].instance_shift = 0; |