vkd3d-shader/msl: Implement VKD3DSIH_MOVC.

This commit is contained in:
Feifan He
2024-11-22 15:45:54 +08:00
committed by Henri Verbeet
parent 32a507ace6
commit 71ce43313f
Notes: Henri Verbeet 2024-11-25 21:02:08 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1277
4 changed files with 43 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 5.0 15.0 0.0 0.0
todo(msl) draw quad
draw quad
probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0) 1
[pixel shader]
@@ -40,7 +40,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 42.0 5.0 0.0 0.0
todo(msl) draw quad
draw quad
probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0) 16
[pixel shader]
@@ -55,7 +55,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 45.0 5.0 0.0 0.0
todo(msl) draw quad
draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader]
@@ -69,7 +69,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 5.0 -42.1 4.0 45.0
uniform 4 float4 15.0 -5.0 4.1 5.0
todo(msl) draw quad
draw quad
probe (0, 0) rgba (5.0, -2.1, 4.0, 0.0) 6
[require]