tests/shader_runner_metal: Run the Metal shader runner with DXIL shaders.

This commit is contained in:
Giovanni Mascellani
2025-07-14 22:22:04 +02:00
committed by Henri Verbeet
parent d898923b1c
commit 3817df1164
Notes: Henri Verbeet 2025-08-04 15:08:24 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1619
87 changed files with 501 additions and 483 deletions

View File

@@ -67,7 +67,7 @@ void main(uint local_idx : SV_GroupIndex)
}
[test]
todo(sm<6) dispatch 1 1 1
todo(sm<6 | msl) dispatch 1 1 1
probe uav 0 (0) u32(0xcafef00d)
probe uav 0 (1) u32(0xcafef00d)
probe uav 0 (2) u32(0xcafef00d)
@@ -99,7 +99,7 @@ void main(uint local_idx : SV_GroupIndex, uint group_id : SV_GroupID)
}
[test]
todo(sm<6) dispatch 4 1 1
todo(sm<6 | msl) dispatch 4 1 1
probe uav 1 (0) u32(0)
probe uav 1 (1) u32(33)
probe uav 1 (2) u32(66)
@@ -129,7 +129,7 @@ void main(uint local_idx : SV_GroupIndex, uint group_id : SV_GroupID)
}
[test]
todo(sm<6) dispatch 4 1 1
todo(sm<6 | msl) dispatch 4 1 1
probe uav 1 (0) i32(0)
probe uav 1 (1) i32(-31)
probe uav 1 (2) i32(-62)
@@ -191,7 +191,7 @@ void main(uint local_idx : SV_GroupIndex, uint group_id : SV_GroupID,
[test]
uniform 0 uint 1
todo(sm<6) dispatch 2 1 1
todo(sm<6 | msl) dispatch 2 1 1
probe uav 1 (0) f32(0.0)
probe uav 1 (1) f32(0.0)
probe uav 1 (2) f32(0.0)
@@ -234,7 +234,7 @@ void main(uint local_idx : SV_GroupIndex)
}
[test]
todo(sm<6) dispatch 1 1 1
todo(sm<6 | msl) dispatch 1 1 1
probe uav 1 (0) u32(39)
[uav 0]
@@ -263,7 +263,7 @@ void main(uint local_idx : SV_GroupIndex, uint group_id : SV_GroupID)
}
[test]
todo(sm<6) dispatch 2 1 1
todo(sm<6 | msl) dispatch 2 1 1
probe uav 0 (0) u32(0x18)
probe uav 0 (1) u32(0x18)
probe uav 0 (2) u32(0x38)
@@ -305,7 +305,7 @@ void main(uint local_idx : SV_GroupIndex, uint group_id : SV_GroupID)
}
[test]
todo(sm<6) dispatch 2 1 1
todo(sm<6 | msl) dispatch 2 1 1
probe uav 0 (0) u32(0x14321)
probe uav 0 (1) u32(0x14321)
probe uav 0 (2) u32(0x14321)