Henri Verbeet : wined3d: Properly check if an attribute is used in transform_texture().