ATI has released software called HLSL2GLSL which converts D3D9 High Level Shader Language (HLSL) into the OpenGL equivalent GLSL.
It's open source, and appears to be under a BSD license, so may be possible to integrate into WINE (I'm not sure if it's old or new BSD license).
The source code is here: http://sourceforge.net/projects/hlsl2glsl
Press releases and news about it are here: http://www.macworld.com/news/2006/11/10/hlsl2glsl/index.php http://www.theinquirer.net/default.aspx?article=35742
Hope this is of interest,
Regards,
Ian
ps: Sorry if this comes through more than once - I didn't subscribe before sending this the first time and it looks like it didn't get through.