moved frame buffers out of passes