[vulkan] Removed unneccesary UpdateBuffers from the end session of TFB/ Thanks Pavel

This commit is contained in:
CamilleLaVey 2026-03-13 14:35:26 -04:00
parent 1ebdef1a02
commit 46c2a81f4a

View file

@ -931,9 +931,6 @@ private:
return;
}
has_flushed_end_pending = false;
// Refresh buffer state before ending transform feedback to ensure counters_count is up-to-date.
UpdateBuffers();
if (buffers_count == 0) {
LOG_DEBUG(Render_Vulkan, "EndTransformFeedbackEXT called with no counters (buffers_count=0)");
scheduler.Record([](vk::CommandBuffer cmdbuf) {