vkd3d-shader/msl: Implement VKD3DSIH_IADD.

This commit is contained in:
Henri Verbeet
2025-05-23 11:24:54 +02:00
parent cc33439f19
commit 3673b65485
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
10 changed files with 36 additions and 29 deletions

View File

@@ -40,11 +40,11 @@ float4 main(float4 pos : SV_Position, uint sample_idx : SV_SampleIndex) : SV_Tar
[test]
clear rtv 0 1.0 1.0 1.0 1.0
todo(msl) draw triangle list 3
todo probe ( 0, 0) rgba(0.25, 0.25, 0.25, 0.25)
todo probe (639, 0) rgba(0.0, 0.0, 0.0, 0.0)
todo probe ( 0, 479) rgba(0.25, 0.25, 0.25, 0.25)
todo probe (639, 479) rgba(0.0, 0.0, 0.0, 0.0)
draw triangle list 3
todo(vulkan | opengl | d3d12) probe ( 0, 0) rgba(0.25, 0.25, 0.25, 0.25)
todo(vulkan | opengl | d3d12) probe (639, 0) rgba(0.0, 0.0, 0.0, 0.0)
todo(vulkan | opengl | d3d12) probe ( 0, 479) rgba(0.25, 0.25, 0.25, 0.25)
todo(vulkan | opengl | d3d12) probe (639, 479) rgba(0.0, 0.0, 0.0, 0.0)
% Centroid interpolation, which means the pixel center if all samples are
% covered and the first covered sample if a least a sample is not covered (in
@@ -72,11 +72,11 @@ float4 main(centroid float4 pos : SV_Position, uint sample_idx : SV_SampleIndex)
[test]
clear rtv 0 1.0 1.0 1.0 1.0
todo(glsl | msl) draw triangle list 3
todo(glsl) draw triangle list 3
todo probe ( 0, 0) rgba(0.25, 0.25, 0.25, 0.25)
todo probe (638, 0) rgba(0.0, 0.0, 0.0, 0.0)
todo(vulkan | opengl | d3d12) probe (638, 0) rgba(0.0, 0.0, 0.0, 0.0)
todo probe ( 0, 478) rgba(0.25, 0.25, 0.25, 0.25)
todo probe (639, 479) rgba(0.0, 0.0, 0.0, 0.0)
todo(vulkan | opengl | d3d12) probe (639, 479) rgba(0.0, 0.0, 0.0, 0.0)
% Sample interpolation.
@@ -117,7 +117,7 @@ float4 main(float4 pos : SV_Position, float2 attr : ATTR, uint sample_idx : SV_S
[test]
clear rtv 0 1.0 1.0 1.0 1.0
todo(msl) draw triangle list 3
draw triangle list 3
probe ( 0, 0) rgba(0.25, 0.25, 0.25, 0.25)
probe (639, 0) rgba(0.0, 0.0, 0.0, 0.0)
probe ( 0, 479) rgba(0.25, 0.25, 0.25, 0.25)