Adds z-index register for processing