emit_depthbuffer refactor part 2