Nikolay Sivov : d3d10/effect: Fix d3d object creation for arrays of state objects.