[PATCH 3/4] wined3d: Set the active texture in sampler_texdim().