Implemented EGM saving with shader resources the proper way.