The Direct3D11 driver that will be coming soon in RetroArch 1.7.1 will have initial support for libretro/RetroArch's new universal shader format, Slang!
This means that both the Direct3D 11 and Vulkan video drivers will be able to make use of the same shaders without having to convert any shader code!
The magic happens courtesy of SPIRV-Cross, itself a Khronos project.
Featured in the video is the metacrt shader in all its glory!
We hope that in the future, the slang shader spec will be supported by most of RetroArch's video drivers (such as OpenGL and the other Direct3D drivers). This represents a very important step towards realizing that ultimate goal.
Stay tuned for RetroArch 1.7.1!