Skip to content

Commit

Permalink
Update Vulkan frame synchronization to align with Metal
Browse files Browse the repository at this point in the history
  • Loading branch information
egorodet committed Dec 26, 2024
1 parent cfae0f6 commit 9171dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Apps/Common/Sources/Methane/Tutorials/AppSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ AppOptions::Mask AppOptions::GetDefaultWithColorOnly() noexcept
{
AppOptions::Mask options;
options |= AppOptions::Bit::ClearColor;
#if defined(__APPLE__) && !defined(APPLE_MACOS) // iOS
#ifdef APPLE_IOS
options |= AppOptions::Bit::FullScreen;
options |= AppOptions::Bit::HudVisible;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void RenderContext::WaitForGpu(WaitFor wait_for)
default: META_UNEXPECTED(wait_for);
}

GetVulkanDefaultCommandQueue(cl_type).CompleteExecution(frame_buffer_index);
GetVulkanDefaultCommandQueue(cl_type).WaitUntilCompleted(frame_buffer_index, 16);

m_vk_deferred_release_pipelines.clear();
}
Expand Down

0 comments on commit 9171dcc

Please sign in to comment.