vk: Add some missing barriers

This commit is contained in:
kd-11 authored and kd-11 committed 2019-06-14 16:19:52 +03:00
1 parent e4671c29a6
commit 9d0f5aedf3
2 files changed
+2

No files matched your search

+1
View File
@@ -1226,6 +1226,7 @@ void VKGSRender::end()
if (!preinitialized) ds->pop_layout(*m_current_command_buffer);
// TODO: Stencil transfer
vk::as_rtt(ds->old_contents.source)->read_barrier(*m_current_command_buffer);
ds->old_contents.init_transfer(ds);
m_depth_converter->run(*m_current_command_buffer,
ds->old_contents.src_rect(),
+1
View File
@@ -921,6 +921,7 @@ namespace vk
void run(vk::command_buffer &cmd, vk::render_target* target, VkRect2D rect, VkRenderPass render_pass)
{
region = rect;
target->read_barrier(cmd);
overlay_pass::run(cmd, target->width(), target->height(), target,
target->get_view(0xAAE4, rsx::default_remap_vector),