Cherry pick "fix(metal): Restore the Queue::as_raw method" to v29 (#9789)

This commit is contained in:
Andy Leiserson authored and GitHub committed 2026-07-01 15:04:20 -04:00
1 parent 6d387d77b9
commit a96271374d
2 files changed
+8

No files matched your search

+4
View File
@@ -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).
+4
View File
@@ -477,6 +477,10 @@ impl Queue {
timestamp_period,
}
}
pub fn as_raw(&self) -> &ProtocolObject<dyn MTLCommandQueue> {
&self.shared.raw
}
}
#[derive(Debug)]