texture and sampler declarations, and functions (not starting with __) from replacement files are added to the output file
No need to declare empty functions which will be replaced in the file where they are used. If no replacement is found, they are stripped
Removed Deepcopy of AST of replacement functions when they are inserted in the main AST
Empty replacement functions don't generate an empty block
Premake and HLSLParserListener.cpp update for lua 5.1.5