https://bugs.winehq.org/show_bug.cgi?id=55190
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Gijs Vermeulen from comment #4)
(In reply to Nikolay Sivov from comment #3)
This works for me https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/268.
I just tried this one and it seems I'm still hitting this assertion. I made sure to rerun 'autogen.sh' and used 'make dlls/ntdll/clean' to make sure that the new vkd3d build was picked up. Any ideas what I could be doing wrong?
I see what you mean now. Same assertion happens for float modulus, because we generate a conditional there for vectors, and it should be using per-component move instead.
Example:
--- float4 f, m;
float4 main() : sv_target { return f % m; } ---