https://bugs.winehq.org/show_bug.cgi?id=46779
Lorenzo Ferrillo lorenzofer@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #63814|0 |1 is obsolete| |
--- Comment #3 from Lorenzo Ferrillo lorenzofer@live.it --- Created attachment 65591 --> https://bugs.winehq.org/attachment.cgi?id=65591 ID3DXEffectCompiler partial working implementation with initial tests
Wine 4-18 or 4-19 broke the previous patch, so I reworked it.It also include some tests. However it's still incomplete, but enough for this use case.
Excpet for the tests there isn't much difference. It handle better some failure cases.
It's missing all the baseeffect methods, that probably require a partial compilation of the shader/effect, as implied by documentations and tests, and it will not handle correctly external includes (includes passed to the D3DXCreateEffectCompiler* functions) when passed to non D3DXCreateEffectCompilerFromFile function.
Also to work on wine, it will still require the relevant native d3dcompiler.dll (should be d3dcompiler_47.dll )