Merge remote-tracking branch 'upstream/master'

This commit is contained in:
lordnoriyuki 2020-11-28 16:13:37 -08:00
commit e160de87d5

View File

@ -401,6 +401,9 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
}
}
stage.memory.unmap(&device.raw);
if !stage.memory.is_coherent() {
stage.memory.flush_range(&device.raw, 0, None)?;
}
let region = hal::command::BufferImageCopy {
buffer_offset: 0,