blob: 018cfb3981b00a0d5d01343fdf94854316135ddf [file] [log] [blame]
uniform half4 colorGreen;
struct S {
float x;
int y;
};
struct Nested {
S a;
};
S returns_a_struct() {
return S(2,4);
}
half4 main(float2) {
Nested n;
n.a = returns_a_struct();
return colorGreen;
}