Export memory from WGPU with Vulkan backend. #8436
-
| 
         Hello! I need direct I/O access to some of my WGPU buffers. I’m using an external library, Intel OID, which needs to read and write them. Vulkan supports memory export (via vkGetMemoryWin32HandleKHR). I’m fine with a device type lock (Vulkan). I’m also fine with unsafe and non-portable solutions. How can I export WGPU memory for external usage? P.S. I already have a working solution that uses copy operations to and from host memory, but it’s very slow. I need shared access to a buffer between two APIs — Intel OID and WGPU.  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| 
         An example:  | 
  
Beta Was this translation helpful? Give feedback.
An example:
#7988
https://github.com/Vecvec/oidn-wgpu-interop