Nikolay Sivov : d3d10/effect: Fix index access in GetSampler().