https://bugs.winehq.org/show_bug.cgi?id=50927
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- This function is implemented here https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/97. next issue will be about picking correct overloaded function, or any overloaded function at all.
The shader defines user function like this:
int func(int2 arg1, int2 arg2) {}
and calls it with int2 for first argument, but float4 for second. That apparently works fine on Windows, prints a warning about vector truncation but compiles.