This CL updates both the static GOF pattern with the correct flags for temporal_up_switch, as well the flexible mode logic to base the flag on dependency descriptors instead use reference buffers. Bug: webrtc:13576 Change-Id: I578f744bec51d1f3531da5f4a89d12f05a16a6c0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/247187 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35741}