Valve released their Direct3D -> OpenGL translation layer

Discuss topics related to DXGL that don't belong in any other category.
Post Reply
teepean
Posts: 4
Joined: March 15th, 2012, 8:56 am

Valve released their Direct3D -> OpenGL translation layer

Post by teepean » March 11th, 2014, 8:44 am

Might be interesting and could be useful to DXGL:

https://github.com/ValveSoftware/ToGL

teepean
Posts: 4
Joined: March 15th, 2012, 8:56 am

Valve released their Direct3D -> OpenGL translation layer

Post by teepean » March 12th, 2014, 7:33 am

Direct3D -> 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
https://github.com/ValveSoftware/ToGL

William
Site Admin
Posts: 125
Joined: November 19th, 2011, 5:08 pm
Contact:

Re: Valve released their Direct3D -> OpenGL translation laye

Post by William » March 19th, 2014, 10:36 pm

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.

Post Reply