Skip to content

Commit

Permalink
Fix #2047 (#2048)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rua authored Oct 29, 2022
1 parent 39ec4e3 commit 45deca7
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions vulkano/src/render_pass/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,38 @@ macro_rules! ordered_passes_renderpass {
all_graphics: true,
..$crate::sync::PipelineStages::empty()
};
let src_access = src_stages.supported_access();
let dst_access = dst_stages.supported_access();
let src_access = $crate::sync::AccessFlags {
indirect_command_read: true,
index_read: true,
vertex_attribute_read: true,
uniform_read: true,
input_attachment_read: true,
shader_read: true,
shader_write: true,
color_attachment_read: true,
color_attachment_write: true,
depth_stencil_attachment_read: true,
depth_stencil_attachment_write: true,
memory_read: true,
memory_write: true,
..$crate::sync::AccessFlags::empty()
};
let dst_access = $crate::sync::AccessFlags {
indirect_command_read: true,
index_read: true,
vertex_attribute_read: true,
uniform_read: true,
input_attachment_read: true,
shader_read: true,
shader_write: true,
color_attachment_read: true,
color_attachment_write: true,
depth_stencil_attachment_read: true,
depth_stencil_attachment_write: true,
memory_read: true,
memory_write: true,
..$crate::sync::AccessFlags::empty()
};

$crate::render_pass::SubpassDependency {
src_subpass: id.into(),
Expand Down

0 comments on commit 45deca7

Please # to comment.