mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 07:51:08 +01:00
Cherry pick "fix(metal): Restore the Queue::as_raw method" to v29 (#9789)
This commit is contained in:
1 parent
6d387d77b9
commit
a96271374d
2 files changed
+8
No files matched your search
@@ -44,6 +44,10 @@ Bottom level categories:
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
#### Metal
|
||||
|
||||
- Restore the `Queue::as_raw` method, which was removed without good reason in v29. It now returns `&ProtocolObject<dyn MTLCommandQueue>`. By @andyleiserson in [#9560](https://github.com/gfx-rs/wgpu/pull/9560).
|
||||
|
||||
#### Vulkan
|
||||
|
||||
- Fixed `VUID-RuntimeSpirv-vulkanMemoryModel-06265` validation errors by enabling `vulkanMemoryModelDeviceScope` whenever the Vulkan memory model is enabled, since the SPIR-V backend emits storage atomics with `Device` scope. By @francisdb in [#9741](https://github.com/gfx-rs/wgpu/pull/9741).
|
||||
|
||||
@@ -477,6 +477,10 @@ impl Queue {
|
||||
timestamp_period,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn as_raw(&self) -> &ProtocolObject<dyn MTLCommandQueue> {
|
||||
&self.shared.raw
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in new issue
Block a user