[PATCH v2] d3d11: Implement GenerateMips().