https://bugs.winehq.org/show_bug.cgi?id=54054
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- The immediate issue was a type mismatch between ternary operator values. I submitted https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/201 for this.