4 Jun
2024
4 Jun
'24
3:02 p.m.
There's actually several issues with it: 1) First is related to how win32u vulkan driver is used a bit elsewhere, from winex11 XRandR and from d3dkmt. They use `vkGetPhysicalDeviceProperties2` and hooking it in win32u creates a cycle which requires a bit of refactor to break up. It's not too bad and it could actually be a good thing to do... however: 2) `vkGetPhysicalDeviceProperties2` is an instance function and needs to be queried with an instance. We don't have a way to hook such functions and dispatch it to the right instance in our win32u interface. This is a bigger problem and I don't see an easy way to solve it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5787#note_72332