Mipmap generation for mgcb