diff --git a/vulkano/src/command_buffer/commands_raw/pipeline_barrier.rs b/vulkano/src/command_buffer/commands_raw/pipeline_barrier.rs index cf18e2b4..4971c64f 100644 --- a/vulkano/src/command_buffer/commands_raw/pipeline_barrier.rs +++ b/vulkano/src/command_buffer/commands_raw/pipeline_barrier.rs @@ -102,8 +102,8 @@ impl<'a> CmdPipelineBarrier<'a> { self.dependency_flags = 0; } - self.src_stage_mask |= source.into(); - self.dst_stage_mask |= dest.into(); + self.src_stage_mask |= Into::::into(source); + self.dst_stage_mask |= Into::::into(dest); } /// Adds a memory barrier. This means that all the memory writes by the given source stages