efxc2 is an enhanced version of fxc2. The original fxc2 program is described as "A wine-runnable version of Microsofts Shader Compiler fxc" and is available at https://github.com/mozilla/fxc2. Unfortunately, fxc2 does not appear to be maintained and I have encountered quite a few issues using that program. I needed a High-Level Shader Language (HLSL) compiler that was open-source. So I made my own modifications to the original fxc2 source-code including a pull request, mozilla/fxc2#3 into my own enhanced program (efxc2).
This program works by using the d3dcompiler_47.dll included in Windows using the Application Programing Interface (API) as described by:
https://learn.microsoft.com/en-us/windows/win32/api/d3dcompiler/
This program is compatible with the syntax used by Microsoft's Effect-Compiler Tool (fxc). That program is documented at:
https://learn.microsoft.com/en-us/windows/win32/direct3dtools/fxc
Open the .ZIP file and extract the files to a directory of your choice.
See: INSTALL.md
This program is licensed under the Mozilla Public License, v. 2.0. A copy of that license is included in the license_MPL_2_0.txt file.
These tools are NOT required to build this program or submit pull requests. I list them because they are helpful to me in developing this program.
Microsoft Visual Studio Community 2022
PVS-Studio - static analyzer for C, C++, C#, and Java code.
SonarCloud - a cloud-based code review tool that integrates with DevOps platforms and CI/CD workflows.
SonarLint - an advanced linter in your IDE for Clean Code