[PATCH 4/7] d3d10/effect: Handle static variable assignments for object fields in state objects.