mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Work around a Metal bug.
This test currently hit a Metal bug when run on Apple Silicon with MoltenVK and fails. We don't have an easy way to mark shader runner tests as buggy and we're not interested in tracking that bug anyway, so I'm just working around it.
This commit is contained in:
parent
625e289574
commit
4ba324d37c
Notes:
Alexandre Julliard
2024-02-07 23:27:02 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/625
@ -527,7 +527,7 @@ float4 main() : sv_target
|
||||
{
|
||||
switch (v.x)
|
||||
{
|
||||
case 0:
|
||||
case 1:
|
||||
for (j = 0; j < v.z; j++)
|
||||
{
|
||||
c += 1.0f;
|
||||
@ -535,7 +535,7 @@ float4 main() : sv_target
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
case 0:
|
||||
c += 2.0f;
|
||||
break;
|
||||
}
|
||||
@ -545,10 +545,10 @@ float4 main() : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
uniform 0 uint4 0 0 3 1
|
||||
uniform 0 uint4 1 0 3 1
|
||||
draw quad
|
||||
probe all rgba (10.0, 11.0, 12.0, 13.0)
|
||||
uniform 0 uint4 1 0 3 1
|
||||
uniform 0 uint4 0 0 3 1
|
||||
draw quad
|
||||
probe all rgba (7.0, 8.0, 9.0, 10.0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user