rendering pass cleanup, unknown primitive exception