Public information seems to describe the M4 GPU as mostly a performance-oriented refresh of the one from M3. M5 has brought bigger changes, not least neural/tensor accelerators on chip.