vkd3d-shader/msl: Implement VKD3DSIH_DP4.

This commit is contained in:
Feifan He
2024-11-22 15:45:54 +08:00
committed by Henri Verbeet
parent 046e9b5286
commit 6f7ee57e29
Notes: Henri Verbeet 2024-12-03 14:57:01 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1291
4 changed files with 10 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 2.0 3.0 4.0 5.0
uniform 4 float4 10.0 11.0 12.0 13.0
todo(msl) draw quad
draw quad
probe (0, 0) rgba (166.0, 166.0, 166.0, 166.0)
[pixel shader]
@@ -40,7 +40,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 2.0 0.0 0.0 0.0
uniform 4 float4 10.0 11.0 12.0 13.0
todo(msl) draw quad
draw quad
probe (0, 0) rgba (92.0, 92.0, 92.0, 92.0)
[pixel shader]
@@ -55,7 +55,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 10.0 11.0 12.0 13.0
uniform 4 float4 2.0 0.0 0.0 0.0
todo(msl) draw quad
draw quad
probe (0, 0) rgba (92.0, 92.0, 92.0, 92.0)
[pixel shader]