[Bug 46779] OblivionReloaded CompileEffects require ID3DXEffectCompilerImpl_CompileEffect implementation.

WineHQ Bugzilla wine-bugs at winehq.org
Thu Nov 7 17:27:42 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46779

Lorenzo Ferrillo <lorenzofer at live.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #65591|0                           |1
        is obsolete|                            |

--- Comment #4 from Lorenzo Ferrillo <lorenzofer at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list