Re:New DirectX Shader Compiler Based on Clang/LLVM Open-Sourced
by vetinari on Tuesday January 24, 2017 @07:56AM
(#13470914)
DX has driver caps, feature levels and optional features within each feature level - so you have to branch on runtime anyway, just like with OpenGL or Vulcan extensions. Even Apple Metal has Feature Sets for exactly that reason.
If you want to evolve your API together with the hardware, you need some extension mechanism.
If you want to evolve your API together with the hardware, you need some extension mechanism.