Carmelo Anthony played 12 playoff games with a partially torn left shoulder, the Daily News has learned.

An MRI of Anthony’s shoulder revealed a partially torn labrum, according to a Knicks source, and he may need surgery. The Knicks are hopeful that the injury will heal on its own and the club has told Anthony to rest for the next three to four weeks, at which point he will be reevaluated.

The Daily News reported on Monday that Anthony was scheduled to have his shoulder examined by team doctors after he experienced chronic pain dating back to April 14, when he originally injured his arm against the Pacers. Anthony then re-injured it in Game 5 against Boston and later reported he was experiencing the sensation of his shoulder popping out of the socket, which is common for someone suffering from a torn labrum.

The Knicks had not given a medical update on Anthony as of Wednesday night.

If surgery is needed, it could sideline Anthony from three to five months and could compromise his availability for the start of training camp in October. Throughout the playoffs, Anthony refused to use the injury as an excuse, even though his shooting percentage dipped considerably. Having to play against two defensive-minded teams in Boston and Indiana also didn’t help, but it was obvious that Anthony, the NBA’s scoring champion, wasn’t 100%.

In the Knicks’ second-round series loss to the Pacers, Anthony made 65 of 150 shots, including scoring 39 points on 15- for-29 shooting in Game 6.

Anthony was unavailable for comment on Wednesday. When he left his exit meeting with Mike Woodson and Glen Grunwald, Anthony was optimistic that his shoulder was fine.

“I don't think it’s any major damage,” Anthony said Monday. “But we'll see. We’ll find that out.”