diff --git a/wgpu-hal/src/dx12/device.rs b/wgpu-hal/src/dx12/device.rs index 778bd2e51a..f87111f6bc 100644 --- a/wgpu-hal/src/dx12/device.rs +++ b/wgpu-hal/src/dx12/device.rs @@ -290,6 +290,10 @@ impl super::Device { &self.raw } + pub fn raw_queue(&self) -> &native::CommandQueue { + &self.present_queue + } + pub unsafe fn texture_from_raw( resource: native::Resource, format: wgt::TextureFormat,