Files
WoWee/include/rendering
Kelsi c1f7225261 fix: a batch holding only ImGui texture uploads was never submitted
Both ends of an upload batch decided there was nothing to do by looking at
the allocator's staging list alone. An ImGui texture upload stages through
plain Vulkan calls and lands in neither list, so a batch holding nothing but
those looked empty: the command buffer carrying every one of the copies was
freed unsubmitted and the images stayed blank. That is why no FrameXML
texture ever appeared while its rectangles and text did.

The same upload also freed its staging as soon as immediateSubmit returned,
which is right when that submits and waits and wrong inside a batch, where
it only records — pulling the source out from under a copy that has not run
yet.

Both are mine, from batching the widget renderer's uploads. Plain staging is
now handed to the batch and freed once its copies have actually completed,
on the synchronous path and when an asynchronous batch is reclaimed.
2026-08-01 19:21:46 -07:00
..