[PATCH 3/5] d3d10/effect: Store state variables references in their own arrays.