Microsoft: "DirectX Adopting SPIR-V as the Interchange Format of the Future"

Jimmyjames

Elite Member
Joined
Jul 13, 2022
Posts
1,094
Announced by Microsoft yesterday. It seems only Apple and WebGL doesn’t use Spir-v now. Does anyone know if this would have any impact on GPTK?

 
Likely won't have an impact for a while. You need some real world Shader Model 7 stuff to exist first. And in that scenario, it looks like there already exist tools that convert SPIR-V to MSL, so someone with the right incentive and knowledge (say, Apple or Crossover) could probably do even better and convert between the two IRs (SPIR-V and MSL's IR) directly for GPTK and whatever Cider is called these days.

That said, if we can't get an open GPU programming interface that everyone agrees to and adopts, it would be nice if everyone could at least adopt some common components.
 
Does anyone know if this would have any impact on GPTK?

It will make it easier to do shader conversion since robust spir-v to metal shading language transpilers exist.

I don’t expect Apple to embrace SPaiR-V, there is some bad blood between them and Khronos and SPiR-V does not really fit Apples requirements. It would be great if they stabilized and documented the Metal IR though.
 
Back
Top