mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Test for invalid complex broadcasts.
This commit is contained in:
parent
791f8a8faa
commit
e56db9bda5
Notes:
Alexandre Julliard
2022-10-18 00:13:00 +02:00
Approved-by: Zebediah Figura (@zfigura) 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/29
@ -21,3 +21,50 @@ float4 main() : SV_TARGET
|
||||
[test]
|
||||
todo draw quad
|
||||
todo probe all rgba (84.0, 84.0, 84.0, 84.0)
|
||||
|
||||
|
||||
[pixel shader fail todo]
|
||||
struct apple
|
||||
{
|
||||
float3 aa;
|
||||
float4 bb;
|
||||
};
|
||||
|
||||
float4 main() : SV_TARGET
|
||||
{
|
||||
struct apple f = 31;
|
||||
return f.bb;
|
||||
}
|
||||
|
||||
|
||||
[pixel shader fail]
|
||||
struct apple
|
||||
{
|
||||
float3 aa;
|
||||
float4 bb;
|
||||
};
|
||||
|
||||
float4 fun(struct apple f)
|
||||
{
|
||||
return f.bb;
|
||||
}
|
||||
|
||||
float4 main() : SV_TARGET
|
||||
{
|
||||
return fun(31);
|
||||
}
|
||||
|
||||
|
||||
[pixel shader fail]
|
||||
struct apple
|
||||
{
|
||||
float4 foo;
|
||||
Texture2D tex;
|
||||
};
|
||||
|
||||
float4 PSMain() : SV_TARGET
|
||||
{
|
||||
struct apple a1;
|
||||
a1 = (struct apple)1;
|
||||
return a1.foo;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user