split shader src to a file.