5 ms·
I believe you can use this without touching Rust. If I remember correctly they even ran Dota2 with this. That certainly does not have Rust inside.
by nemaar 8y ago
I believe you can use this without touching Rust. If I remember correctly they even ran Dota2 with this. That certainly does not have Rust inside.
- electricslpnsld 8y agoInteresting, thanks for the clarification! Any idea as to the advantages of using these bindings vs. the Molten bindings, if one isn't using Rust?
- baobrien 8y agoI think -- and I could be wrong here -- that gfx-rs aims to eventually implement Vulkan on D3D12 in addition to Metal, while MoltenVK only aims to work on Metal.
- maccam94 8y agoAre there any D3D12 platforms that don't also support Vulkan?
- wolfgke 8y agoI am not completely sure, but I can imagine XBox One.
- jsheard 8y agoWindows, partially. Vulkan can be used in classic win32 apps but not in "modern" UWP apps. The Xbox One uses a variant of D3D12 and doesn't support Vulkan at all.
- drb91 8y ago> Vulkan can be used in classic win32 apps but not in "modern" UWP apps. Why is this/how do they enforce that? The Xbox is hardly a surprise, but then again you're only going to target that for games so it's less of a problem.
- jsheard 8y ago> Why is this/how do they enforce that? Technically Windows doesn't support Vulkan at all, but the openness of the win32 platform allowed Khronos to define a "backdoor" interface where the application ignores the Windows graphics stack and instead gets a Vulkan context by talking to the graphics driver directly. The UWP sandbox makes this impossible so you're stuck with the native Direct3D APIs.
- drb91 8y agoAhh, I had no idea UWP implied running on microsoft's terms. Is there a way to run them out of the sandbox manually?
- megaman22 8y agoStatistically, nobody actually builds real UWP apps, so it is largely an academic point. But if you're out of the sandbox, I fail to see a good reason not to just build a regular old Win32 app the way it has always been done.
- imtringued 8y agoIf you are on Windows on ARM then there is no option other than UWP apps. Why would anyone buy an ARM laptop if they have to rely on emulation for everything anyway. It's not like the ARM laptops are any cheaper than the intel ones. (they actually have worse specs and cost more)
- pjmlp 8y agoMicrosoft has decided to approach the problem by other means, meaning the introduction of MSIX containers for Win32, and merging both worlds. The next Office for Windows 10 being store only is already an indication how things will go from now on.
- shmerl 8y agoI don't think UWP with Vulkan is completely impossible. https://github.com/KhronosGroup/Vulkan-Docs/issues/366 https://github.com/KhronosGroup/Vulkan-Docs/issues/366 It doesn't exist now though for sure, so for all practical purposes UWP locks developers out of using Vulkan.
- johncolanduoni 8y agoOlder Intel chips (pre-Skylake IIRC) don’t have Vulkan support on Windows, even though they do on Linux.
- wlesieutre 8y agoI don't know about the MoltenVK branding specifically, but Khronos does plan a "Universally portable subset" of Vulkan with tools to target both Metal and D3D12 from one rendering codebase and common SPIR-V shaders. The project is call Vulkan Portability Initiative: https://www.khronos.org/blog/khronos-announces-the-vulkan-portability-initiative https://www.khronos.org/blog/khronos-announces-the-vulkan-po...
- kvark 8y agogfx-rs Metal backend can be powerful and faster