vkd3d-shader/msl: Implement VKD3DSIH_IMUL.

This commit is contained in:
Henri Verbeet
2025-05-23 15:23:10 +02:00
parent a2eb3324d4
commit a570932b82
Notes: Henri Verbeet 2025-06-10 18:06:32 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1554
6 changed files with 51 additions and 17 deletions

View File

@@ -66,7 +66,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 uint4 0 1 2 3
todo(msl) draw quad
draw quad
probe (0, 0) rgba (1.0, 7.0, 13.0, 19.0)
% Test collecting terms with constant coefficients.
@@ -171,7 +171,7 @@ uniform 0 uint 7
uniform 4 uint 9
uniform 8 uint 0xff9
uniform 12 uint 0xff7
todo(msl) draw quad
draw quad
probe (0, 0) rgbaui(21, 45, 0x2feb, 0x4fd3)
[pixel shader]