3 ms·
Think it is Box64 (POSIX emulation w/ ISA translation, amd64 -> arm64) running WINE and DXVK via Mesa (Direct3Dxx -> Vulkan translation). Wonder if Google Dawn
by ignoramous 3y ago
Think it is Box64 (POSIX emulation w/ ISA translation, amd64 -> arm64) running WINE and DXVK via Mesa (Direct3Dxx -> Vulkan translation).
Wonder if Google Dawn (ANGLE and SwiftShader), which is bundled with Chromium for WebGPU, could be a drop-in replacement for DXVK + Mesa.
- tadfisher 3y agoNot drop-in, because Dawn doesn't implement the Direct3D API. You could probably bridge Direct3D to WebGPU by implementing the headers[1] though, which is exactly what DXVK does for Vulkan [2]. [1]: https://github.com/Joshua-Ashton/mingw-directx-headers https://github.com/Joshua-Ashton/mingw-directx-headers [2]: https://github.com/doitsujin/dxvk/blob/master/src/d3d9/d3d9_main.cpp https://github.com/doitsujin/dxvk/blob/master/src/d3d9/d3d9_...
- ignoramous 3y agoThanks. > Not drop-in, because Dawn doesn't implement the Direct3D API. Not Vulkan, but Dawn (I guess, I mean ANGLE specifically) can do D3DX 9 & 11 to OpenGLES? https://chromium.googlesource.com/angle/angle/+/main/README.md https://chromium.googlesource.com/angle/angle/+/main/README.... / https://archive.is/u2z2a https://archive.is/u2z2a
- tadfisher 3y agoANGLE is the opposite of what you want; it implements OpenGL ES (WebGL) on top of DirectX, when you want to implement DirectX on top of WebGPU.