diff --git a/vulkano/src/render_pass/macros.rs b/vulkano/src/render_pass/macros.rs index 3f5df810a1..c74ca6e78d 100644 --- a/vulkano/src/render_pass/macros.rs +++ b/vulkano/src/render_pass/macros.rs @@ -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(),