Skip to content

Commit

Permalink
Add requested comment
Browse files Browse the repository at this point in the history
Change-Id: I5e8219d49b1bee0eea6e05c98a17fce4b66ddc12
  • Loading branch information
marius-pelegrin-arm committed Mar 5, 2024
1 parent 1adfa7c commit 62dcc19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/decode/vulkan_offscreen_swapchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ VkResult VulkanOffscreenSwapchain::CreateSwapchainKHR(VkResult
VkDevice device = device_info->handle;
device_table_->GetDeviceQueue(device, default_queue_family_index_, 0, &default_queue_);

// If this option is set, a command buffer submission with a `VkFrameBoundaryEXT` must be called each time
// `vkQueuePresentKHR` should have been called by the offscreen swapchain. So a maximum of work must be done at
// swapchain creation: Allocation and recording of an empty command buffer, initialization of a `VkFrameBoundaryEXT`
// structure... (Don't forget to free everything at swapchain destruction)
if (insert_frame_boundary_)
{
VkResult result;
Expand Down

0 comments on commit 62dcc19

Please sign in to comment.