This adds rudimentary HLSL support to AMBuild, via the custom C++ tools API. Since FXC is a bit odd - it can only define one function per output file, and compile one function at a time - AMBuild doesn't just drop in a command-line wrapper. Instead, it also defines an additional "unifier" step that combines all the output shader files into one C++ translation unit.
This adds rudimentary HLSL support to AMBuild, via the custom C++ tools API. Since FXC is a bit odd - it can only define one function per output file, and compile one function at a time - AMBuild doesn't just drop in a command-line wrapper. Instead, it also defines an additional "unifier" step that combines all the output shader files into one C++ translation unit.
Documentation: https://wiki.alliedmods.net/AMBuild_FXC_API