Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not 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

[2]: https://github.com/doitsujin/dxvk/blob/master/src/d3d9/d3d9_...



Thanks.

> 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.... / https://archive.is/u2z2a


ANGLE 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: