struct Foo { float4 color; }; struct Bar { Foo t; }; void vs_main() { Foo f; Bar b; b.t = f; }