For consistency with PipelineState.
Synchronizer &sync = device.get_synchronizer();
sync.reset();
if(!fb_is_swapchain)
- framebuffer->prepare_image_layouts(discard_fb_contents);
+ framebuffer->synchronize_resources(discard_fb_contents);
sync.barrier(vkCmd);
const VkRenderPassBeginInfo &begin_info = *reinterpret_cast<const VkRenderPassBeginInfo *>(pass_begin_info.data());
set_vulkan_object_name();
}
-void VulkanFramebuffer::prepare_image_layouts(bool discard) const
+void VulkanFramebuffer::synchronize_resources(bool discard) const
{
for(const Framebuffer::Attachment &a: static_cast<const Framebuffer *>(this)->attachments)
{
void update(unsigned) const;
void require_complete() const { }
- void prepare_image_layouts(bool = false) const;
+ void synchronize_resources(bool = false) const;
void set_debug_name(const std::string &);
void set_vulkan_object_name() const;