Remove the "DispatchFlush" mechanism, not convinced it's a win

This commit is contained in:
Henrik Rydgård committed 2024-12-15 13:42:05 +01:00
1 parent 794fa28035
commit 11dbae3457
19 files changed
+43 -94

No files matched your search

+5 -1
View File
@@ -216,7 +216,11 @@ void DrawEngineVulkan::Invalidate(InvalidationCallbackFlags flags) {
}
// The inline wrapper in the header checks for numDrawCalls_ == 0
void DrawEngineVulkan::DoFlush() {
void DrawEngineVulkan::Flush() {
if (!numDrawVerts_) {
return;
}
VulkanRenderManager *renderManager = (VulkanRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
renderManager->AssertInRenderPass();