Today, the Wine developers officially announced that vkd3d for translating Direct3D 12 to Vulkan in Wine has reached 1.0.
Here's what they said in the release announcement:
This is the first release of vkd3d. A lot of Direct3D 12 features are still missing and bugs are expected. The current version was tested mainly with demo applications. A number of features that are being worked on have been deferred to the next development cycle. This includes in particular geometry and tessellation shaders support, various shader translation improvements, as well as various improvements for core Direct3D 12 methods.
vkd3d includes libvkd3d, which is the main component. It's the 3D graphics library built on top of Vulkan and they say it has an "API very similar to Direct3D 12". They've already implemented a lot of Direct3D 12 features including Graphics and compute pipelines, Command lists, command allocators and command queues, Descriptors and descriptor heaps and so on.
It also includes libvkd3d-shader, a library which will do the translation of shader model 4 and 5 bytecode to SPIR-V. They say the API for it is not yet set in stone. Again, plenty of work has been done and a lot is already supported, but they do specifically mention that Shader model 5.1 is not yet supported.
It also includes libvkd3d-utils, which they say has simple implementations of many functions which could be useful for source ports of Direct3D 12 applications.
So many fun things going on with Wine right now it's hard to keep track of it all.
You can see their release announcement here.
So far no one answered their last question here.
Last edited by Shmerl on 23 May 2018 at 6:34 pm UTC
Quoting: ShmerlHopefully Wine developers can also explain to Khronos how they need to use stream output (transform feedback ) with Vulkan in vkd3d.
So far no one answered their last question here.
How would this help perf/what games would need this?
Quoting: ShmerlHopefully Wine developers can also explain to Khronos how they need to use stream output (transform feedback ) with Vulkan in vkd3d.
So far no one answered their last question here.
I never understood how that feature is present in OpenGL but not yet available in Vulkan.
Quoting: pete910Quoting: ShmerlHopefully Wine developers can also explain to Khronos how they need to use stream output (transform feedback ) with Vulkan in vkd3d.
How would this help perf/what games would need this?
Here you can find some games using stream output:
DXVK: Stream Output not supported (#135)
Quoting: pete910Quoting: ShmerlHopefully Wine developers can also explain to Khronos how they need to use stream output (transform feedback ) with Vulkan in vkd3d.
So far no one answered their last question here.
How would this help perf/what games would need this?
Witcher 3 needs this afaik
Quoting: LeopardWitcher 3 needs this afaik
Quite a few D3D11 games need it. D3D12 also has it, so it's a missing feature for vkd3d as well.
Quoting: ZeloxHave anyone tryed witcher 3 with this and got it working?
Witcher 3 is using D3D11, and vkd3d is for D3D12, so it's not useful for it. It might be useful for their future game, if CDPR will foolishly use D3D12 instead of Vulkan for Cyberpunk 2077.
Last edited by Shmerl on 24 May 2018 at 12:05 am UTC
Quoting: Avehicle7887I never understood how that feature is present in OpenGL but not yet available in Vulkan.
Apparently it was planned, but wasn't included in the initial release. Not all OpenGL features are present in Vulkan. Some are missing if they can be implemented using existing Vulkan features. But transform feedback is quite difficult to implement.
I have a funny feeling DXVK will figure out a workaround that just resolves it another way instead of relying on VulkanAPI to do it. Hopefully.
See more from me