@@ -2494,7 +2494,8 @@ void VulkanSurface::present_image(
2494
2494
const std::vector<StreamSemaphore> &wait_semaphores) {
2495
2495
std::vector<VkSemaphore> vk_wait_semaphores;
2496
2496
2497
- device_->image_transition (get_target_image (), ImageLayout::color_attachment, ImageLayout::present_src);
2497
+ device_->image_transition (get_target_image (), ImageLayout::color_attachment,
2498
+ ImageLayout::present_src);
2498
2499
2499
2500
for (const StreamSemaphore &sema_ : wait_semaphores) {
2500
2501
auto sema = std::static_pointer_cast<VulkanStreamSemaphoreObject>(sema_);
@@ -2535,7 +2536,8 @@ DeviceAllocation VulkanSurface::get_depth_data(DeviceAllocation &depth_alloc) {
2535
2536
copy_params.image_extent .y = h;
2536
2537
copy_params.image_aspect_flag = VK_IMAGE_ASPECT_DEPTH_BIT;
2537
2538
cmd_list = stream->new_command_list ();
2538
- cmd_list->image_transition (depth_alloc, ImageLayout::depth_attachment, ImageLayout::transfer_src);
2539
+ cmd_list->image_transition (depth_alloc, ImageLayout::depth_attachment,
2540
+ ImageLayout::transfer_src);
2539
2541
cmd_list->image_to_buffer (depth_buffer_.get_ptr (), depth_alloc,
2540
2542
ImageLayout::transfer_src, copy_params);
2541
2543
stream->submit_synced (cmd_list.get ());
@@ -2569,7 +2571,8 @@ DeviceAllocation VulkanSurface::get_image_data() {
2569
2571
screenshot_buffer_ = device_->allocate_memory (params);
2570
2572
}
2571
2573
2572
- device_->image_transition (img_alloc, ImageLayout::color_attachment, ImageLayout::transfer_src);
2574
+ device_->image_transition (img_alloc, ImageLayout::color_attachment,
2575
+ ImageLayout::transfer_src);
2573
2576
2574
2577
std::unique_ptr<CommandList> cmd_list{nullptr };
2575
2578
0 commit comments