1 struct Nested { float y; Texture2D texNested; };
\r
2 struct A { Nested n; float x; };
\r
3 struct B { Nested n; Texture2D tex; };
\r
7 float4 main(float4 vpos : VPOS) : COLOR0
\r
12 // Assignment of nested structs to nested structs
\r
16 // Assignment of nested struct to standalone
\r
19 // Assignment to nestested struct members
\r
20 a2.n.texNested = someTex;
\r
23 return float4(0,0,0,0);
\r