H. Verbeet : wined3d: Store the texture in a local variable in sampler_texmatrix().