It goes further back than that. The software stack for all modern AMD GPUs is based on the original unified shader compiler for the first AMD unified shader GPU, Xenos (XBOX360) written largely by Microsoft. AMD just has a license to the code, MS still owns it.