Isn't it awkward to interleave the OIT and FXAA code in this function?  Why not have all the OIT code followed by the FXAA code, which will make it easier to move FXAA to a script-driven post-process.