The way that works isn't that IMG ships a full directx implementation, but that they ship some kernel and user mode components that plug in to Microsoft's directx implementation such that when taken together, directx is accelerated by IMG's hardware.
Similarly, Microsoft would need to release the non GPU specific bits for macos to fit the same model.