Branched N-glycans increase the binding affinity of PD-L1 on HR-proficient cancer cells to PD-1 on CD8+ T cells. This evidence concerns the gene CD8A and cancer.