wined3d: Pass shader type and unmodified index to context_preload_texture().