mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-23 07:15:31 +00:00
Merge pull request #484 from Migi/master
Future-proof a dependency on type inference
This commit is contained in:
commit
54303f899d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user