MAX_TOPOLOGY_SNAPSHOTS
dc->debug_data.topology_history.current_snapshot_index = (dc->debug_data.topology_history.current_snapshot_index + 1) % MAX_TOPOLOGY_SNAPSHOTS;
struct pipe_topology_snapshot snapshots[MAX_TOPOLOGY_SNAPSHOTS];