message: Fix intermittent InvalidImageLayout error for main depth buffer.
diff: @@ -689,6 +689,8 @@ void createDepthBuffer(VulkanContext& context, VulkanSurfaceContext& surfaceCont
  };
  vkCmdPipelineBarrier(cmdbuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
  VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, 0, 0, nullptr, 0, nullptr, 1, &barrier);
  +
  + flushWorkCommandBuffer(context);
  }
  VkImageLayout getTextureLayout(TextureUsage usage) {
  