Kobe Bryant will undergo surgery Wednesday to repair a torn rotator cuff in his right shoulder, ending his 19th season with the Lakers a little past its halfway point.