http://bugs.winehq.org/show_bug.cgi?id=58881
--- Comment #2 from Henri Verbeet hverbeet@gmail.com --- Created attachment 79647 --> http://bugs.winehq.org/attachment.cgi?id=79647 test program
I'm not quite able to reproduce the exact issue you reported here, but did find a different issue for which I've submitted https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1821
If you're still able to reproduce your issue with the changes from that merge request applied, could you attempt the build the attached test program and let me know whether that works? It's a slightly modified version of your example, but with a plain Makefile as build system. Note that you may need to set the PKG_CONFIG_PATH environment variable to the location where vkd3d installed its .pc files if that's not a standard location.