24 Jan
2023
24 Jan
'23
1:40 p.m.
As far as I can tell, it's translated unconditionally to 'frc' instruction for both sm4 and older. For this specific constant, it does match "x - floor(x)", giving 0.75, with floor begin -3.0. But such optimization on constant input should be done somewhere else, or do you mean we should have a test now anyway? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/68#note_21442