Hi there,
I'm writing a tool that convert a D3D Vertex Shader code into tokens. Then these tokens are used to setup a gl shader (using the EXT_vertex_shader extension).
This works for some examples but i got a problem :
What are the official equivalent for LIT, EXPP, DST, and LOG (D3D versions) in this extension ?
I know that i need several micro op to reproduce these instructions, but it is not clear wether the result will get optimized to the right form.
In fact i'm not sure that all D3D program can be converted to that extension..
any clue ?
I'm writing a tool that convert a D3D Vertex Shader code into tokens. Then these tokens are used to setup a gl shader (using the EXT_vertex_shader extension).
This works for some examples but i got a problem :
What are the official equivalent for LIT, EXPP, DST, and LOG (D3D versions) in this extension ?
I know that i need several micro op to reproduce these instructions, but it is not clear wether the result will get optimized to the right form.
In fact i'm not sure that all D3D program can be converted to that extension..
any clue ?