mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
e160de87d5
@ -401,6 +401,9 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage.memory.unmap(&device.raw);
|
stage.memory.unmap(&device.raw);
|
||||||
|
if !stage.memory.is_coherent() {
|
||||||
|
stage.memory.flush_range(&device.raw, 0, None)?;
|
||||||
|
}
|
||||||
|
|
||||||
let region = hal::command::BufferImageCopy {
|
let region = hal::command::BufferImageCopy {
|
||||||
buffer_offset: 0,
|
buffer_offset: 0,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user