Allow nested structures in input to shaders.

The 'other side' to a99f14 I guess.