min() and max() functions in glsl not available when targeting flash.
I think it's not too hard to add them, because there are corresponding instructions in Agal. Just need to add 3 or 4 lines of code in AgalTranslator.cpp near line 786 in Krafix. But I have no idea what tools I need and how to compile Krafix.
So can I ask to give me some clue on how to do this, or may be just to add these functions?
PS It was not hard to compile. Just call koremake and it does all the work. Created a pullrequest with min and max functions.