https://bugs.winehq.org/show_bug.cgi?id=46779
Lorenzo Ferrillo lorenzofer@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #65591|0 |1 is obsolete| |
--- Comment #4 from Lorenzo Ferrillo lorenzofer@live.it --- Created attachment 65610 --> https://bugs.winehq.org/attachment.cgi?id=65610 ID3DXEffectCompiler partial working implementation with initial tests
Ok new version for the patch.
I started to use D3DPreprocess to get a self contained HLSL effect, so that ID3DXEffectCompiler partial working implementation with initial tests can close and free the ID3DXInclude internal implementation for file before returing the interface to the caller. This avoid a nasty bug I had when creating two instances of this Include, and opening both. I don't know if this is the supposed beheaviour for this internal includes, it may just be a wine issue. This has still a serious race when creating compilers concurrently (in different threads). However it should be fine for even if creation of compilers and actual effect compilation happen in a "strange interleaving".
Still all the BaseEffect methods and the CompileShader method are unimplemented.