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 »

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 »

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: 178
Joined: November 19th, 2011, 5:08 pm
Contact:

Re: Valve released their Direct3D -> OpenGL translation laye

Post by William »

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