https://bugs.winehq.org/show_bug.cgi?id=33770
--- Comment #14 from Christian Costa titan.costa@gmail.com --- hunk 1 is to use native D3DXLoadSurfaceFromMemory from the outsied of d3dx9_36 (apps & games) hunk 2 & 3 is the same but from within d3dx9_36 (there are several calls to D3DXLoadSurfaceFromMemory)
When linking d3dx9_36 we don't have access yet to the symbol provided by the .spec. Which is quite logical as the lib does not exist yet, we're creating it. Only the internal symbols (that's why we rename D3DXLoadSurfaceFromMemory to avoid using it in hunk 2) and symbols from the libraries we depend on are available (d3dxof in our case in hunk 3).
The line below is just garbage: +@ stdcall D3DXCompileShaderNative(ptr long ptr ptr str str long ptr ptr ptr) d3dx9_36_2.D3DXCompileShader