vkd3d-shader/spirv: Handle the ORD and UNO instructions.

This commit is contained in:
Conor McCarthy
2024-03-05 00:39:14 +10:00
committed by Alexandre Julliard
parent f212aad0ff
commit e65055b435
Notes: Alexandre Julliard 2024-03-08 23:48:18 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/686
2 changed files with 38 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 0.0 1.5 1.5 0.0
todo(sm<4 | sm>=6) draw quad
todo(sm<4) draw quad
% SM1-3 apparently treats '0/0' as zero.
if(sm<4) todo probe all 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.