vkd3d-shader/msl: Implement VKD3DSIH_EQO.

This commit is contained in:
Henri Verbeet
2025-05-23 09:40:12 +02:00
parent fc6249a228
commit cc33439f19
Notes: Henri Verbeet 2025-06-09 16:31:45 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1547
3 changed files with 3 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 0.0 1.5 1.5 0.0
todo(msl) draw quad
draw quad
% SM1-3 apparently treats '0/0' as zero.
if(sm<4) todo probe (0,0) rgba (1010101.0, 11001100.0, 1101001.0, 11.0)
% SM4-5 optimises away the 'not' by inverting the condition, even though this is invalid for NaN.