[PATCH 5/6] wined3d: Implement manual mipmap generation.