Might be interesting and could be useful to DXGL:
https://github.com/ValveSoftware/ToGL
Valve released their Direct3D -> OpenGL translation layer
Valve released their Direct3D -> OpenGL translation layer
https://github.com/ValveSoftware/ToGLDirect3D -> OpenGL translation layer.
Taken directly from the DOTA2 source tree; supports:
Limited subset of Direct3D 9.0c
Bytecode-level HLSL -> GLSL translator
Some SM3 support: Multiple Render Targets, no Vertex Texture Fetch
Re: Valve released their Direct3D -> OpenGL translation laye
I'll just recycle the following info:
http://www.winehq.org/wwn/365#Valve released ToGL
ToGL is useless for DXGL for just about the same reason. DXGL is meant to be a general purpose library, not an application specific kludge.
Also, DXGL is currently planned to support Direct3D 7.0 and below, which only supports fixed-function processing, which is emulated by custom shaders.
http://www.winehq.org/wwn/365#Valve released ToGL
ToGL is useless for DXGL for just about the same reason. DXGL is meant to be a general purpose library, not an application specific kludge.
Also, DXGL is currently planned to support Direct3D 7.0 and below, which only supports fixed-function processing, which is emulated by custom shaders.