Move the reset out of frame invalidation into job submission
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
/* XXX */
ctx->dirty |= PAN_DIRTY_SAMPLERS | PAN_DIRTY_TEXTURES;
-
- /* Reset job counters */
- ctx->draw_count = 0;
- ctx->vertex_job_count = 0;
- ctx->tiler_job_count = 0;
}
/* In practice, every field of these payloads should be configurable
if (ret)
fprintf(stderr, "panfrost_job_submit failed: %d\n", ret);
+ /* Reset job counters */
+ ctx->draw_count = 0;
+ ctx->vertex_job_count = 0;
+ ctx->tiler_job_count = 0;
}
void