Nikolay Sivov : d3d10/effect: Store state variables references in their own arrays.