While digging through the source code of the DOTA 2, developers have discovered that Valve is using ToGL, a Direct3D to OpenGL translation layer which simply reduces duplication development for various platforms.
The ToGL, as it is currently called, is simply a translation layer which helps developers to develop games for multiple platforms like Windows, Linux and OS X by allowing Direct3D to be called by similar OpenGL instructions.
Although it is currently only allowing Direct3D 9.0c API to be translated to OpenGL, this translation layer currently features HLSL to GLSL shader language translator and limited shader model 3.0 support, it is available at GitHub so if more developers decide to use it we are quite sure we will see more of the ToGL.
Source:
GitHub.com,
via Techpowerup.com.