[PATCH 7/8] d3dx10: Add support for mipmap generation in D3DX10LoadTextureFromTexture().