emit_depthbuffer refactor: move depth stall flushes into do_stuff
emit_depthbuffer refactor: modify pre-gen7 state atom to look like gen7