diff --git a/examples/src/bin/texture.rs b/examples/src/bin/texture.rs index 956cb7f..7ff077b 100644 --- a/examples/src/bin/texture.rs +++ b/examples/src/bin/texture.rs @@ -414,8 +414,8 @@ fn main() { }, }; device.cmd_pipeline_barrier(texture_command_buffer, - vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT, - vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT, + vk::PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, + vk::PIPELINE_STAGE_TRANSFER_BIT, vk::DependencyFlags::empty(), &[], &[], @@ -462,8 +462,8 @@ fn main() { }, }; device.cmd_pipeline_barrier(texture_command_buffer, - vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT, - vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT, + vk::PIPELINE_STAGE_TRANSFER_BIT, + vk::PIPELINE_STAGE_FRAGMENT_SHADER_BIT, vk::DependencyFlags::empty(), &[], &[], diff --git a/examples/src/lib.rs b/examples/src/lib.rs index c93cc60..f8229cf 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -521,8 +521,8 @@ impl ExampleBase { }, }; device.cmd_pipeline_barrier(setup_command_buffer, - vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT, - vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT, + vk::PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, + vk::PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, vk::DependencyFlags::empty(), &[], &[],