[PATCH 4/5] d3d10/effect: Fix iteration in GetBackingStore() for sampler states.