opt: The renderer compiler logic