https://bugs.winehq.org/show_bug.cgi?id=54292
--- Comment #2 from Henri Verbeet hverbeet@gmail.com --- Windows file handling APIs (like fopen() and CreateFile()) are supposed to be able to handle slashes as separators, and VKD3D_SHADER_DUMP_PATH is indeed working for me with the bundled vkd3d. (And I tried a couple of different variants to be sure.)
Chances are that the issue you're seeing is slightly more subtle than described here. What is the specific path you're setting VKD3D_SHADER_DUMP_PATH to? Can this be reproduced with either of (the Windows builds of) the vkd3d demos "vkd3d-gears" and "vkd3d-triangle", or does this issue only occur in specific applications?