https://bugs.winehq.org/show_bug.cgi?id=54726
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 74460 --> https://bugs.winehq.org/attachment.cgi?id=74460 patch
Here is a patch on top of https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/206. I'm going to revisit once MR is in.