d3dcompiler_43 wrapper
Added 2023-05-12 21:59:36 +0000 UTC
A d3dcompiler_43 wrapper to redirect D3DCompile and D3DCompile only to d3dcompiler_46e or later for possible faster .FX shader compile time for any binaray that linked to d3dcompiler_43 to compile shaders.
Tested result:
============================
original compile time: 5m
result: 20s
original compile time: 22s
result: 19s
user result may vary, particularly on different shaders and systems.
Requirement:
============================
- A game or dll that is known to use d3dcompiler_43.dll.
(won't affact game or dll that doesn't use d3dcompiler_43.dll)
- d3dcompiler_43.dll in Windows/System32 folder.
- Any of the
d3dcompiler_46.dll,
d3dcompiler_46e.dll, OR
d3dcompiler_47.dll
in Windows/System32 folder OR in game directory.
(fallback to use d3dcompiler_43.dll if non of the above dll is avaliable)
- Note:
win8.1, win10 or above should comes with d3dcompiler_47.dll already.
win8 should comes with d3dcompiler_46.dll
If you're on win7 and doesn't have any of the _46,_46e,_47 dlls under either game dir or Windows/System32, MS has an update to fix that.
If you don't have d3dcompiler_43.dll in system file. Most likely you'll crash or have error regardless of this wrapper. Download and install DirectX redist june 2010 if needed.
Installation:
============================
- Place the zip contents (d3dcompiler_43.dll) at game base directory.
- Enjoy.
Updates:
============================
[May.18.2023] changes wrapper description to be more generic.
[May.11.2023] initial release.