Fix RDO patch for pbr