[PATCH v2 4/5] wined3d: Add texture flag for mipmap generation.