Start every pass and dispatch mark with no mesh draws counted, where the mark is made.

The count was reset in vk_exec_pass_begin alone, so a dispatch's record kept the counts of the pass that last had its slot of the ring; the report prints them only for passes, but the record now holds what its mark was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-13 12:34:10 -05:00
parent bac47d2edb
commit c99e9a94f8
2 changed files with 1 additions and 2 deletions

View File

@@ -865,7 +865,6 @@ void vk_exec_pass_begin(VkExec *ex) {
VkPassMark *m = ex->mark = rw_chunk ? NULL : vk_pass_mark_begin(ex->cb, VK_MARK_PASS, ex->fence); // one ring
if (m) {
m->step = ex->mark_passes++;
m->mesh = m->mesh_ind = 0;
m->w = ex->pass_w, m->h = ex->pass_h, m->d = ex->pass_layers;
m->layer = ex->depth.image ? ex->depth.base_layer : 0;
m->vw = m->vh = 0;