mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
24 lines
303 B
Plaintext
24 lines
303 B
Plaintext
[pixel shader]
|
|
struct apple
|
|
{
|
|
float3 aa;
|
|
float4 bb;
|
|
};
|
|
|
|
struct banana
|
|
{
|
|
struct apple aa;
|
|
int2 bb;
|
|
int4 cc[8];
|
|
};
|
|
|
|
float4 main() : SV_TARGET
|
|
{
|
|
struct banana p = (struct banana)42;
|
|
return p.aa.bb + p.cc[5];
|
|
}
|
|
|
|
[test]
|
|
todo draw quad
|
|
todo probe all rgba (84.0, 84.0, 84.0, 84.0)
|