diff options
author | quou <quou@disroot.org> | 2025-03-23 15:07:55 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-03-23 15:07:55 +1100 |
commit | 580ca2ecaa30475abdd91cb18d196716bed07beb (patch) | |
tree | 67549138279ab38726252f0ba3bff476e5eabb95 | |
parent | e9472cbcb68a8d21e55ca7a8e25365e92b019a79 (diff) |
4x speed up :D
-rw-r--r-- | video.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2070,6 +2070,8 @@ void Device::present() { VkSubmitInfo si{}; VkPipelineStageFlags stage = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; + heap_defrag(dev->heap); + // ^ this makes it >4x the speed ctx->check_end_rp(); ctx->transition( dev->get_backbuffer(), |