Merge pull request #484 from Migi/master

Future-proof a dependency on type inference
This commit is contained in:
tomaka 2017-05-30 20:00:27 +02:00 committed by GitHub
commit 54303f899d

View File

@ -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::<vk::PipelineStageFlags>::into(source);
self.dst_stage_mask |= Into::<vk::PipelineStageFlags>::into(dest);
}
/// Adds a memory barrier. This means that all the memory writes by the given source stages