mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Add more tests for broadcasts in function call args.
This commit is contained in:
parent
2a9b9f7530
commit
1b951c87f6
Notes:
Alexandre Julliard
2023-02-20 22:45:40 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/99
@ -55,6 +55,18 @@ float4 main() : SV_TARGET
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
[pixel shader fail]
|
||||||
|
float4 fun(float f[7])
|
||||||
|
{
|
||||||
|
return f[1];
|
||||||
|
}
|
||||||
|
|
||||||
|
float4 main() : SV_TARGET
|
||||||
|
{
|
||||||
|
return fun(32);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
[pixel shader fail]
|
[pixel shader fail]
|
||||||
struct apple
|
struct apple
|
||||||
{
|
{
|
||||||
@ -68,3 +80,19 @@ float4 PSMain() : SV_TARGET
|
|||||||
a1 = (struct apple)1;
|
a1 = (struct apple)1;
|
||||||
return a1.foo;
|
return a1.foo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
[pixel shader todo]
|
||||||
|
float4 fun(float3 f)
|
||||||
|
{
|
||||||
|
return f.xyxy;
|
||||||
|
}
|
||||||
|
|
||||||
|
float4 main() : SV_TARGET
|
||||||
|
{
|
||||||
|
return fun(33);
|
||||||
|
}
|
||||||
|
|
||||||
|
[test]
|
||||||
|
todo draw quad
|
||||||
|
todo probe all rgba (33.0, 33.0, 33.0, 33.0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user