Manual
Ordering, and the Depends On port
Render Graph decides the order of passes from the resources they share. A pass that reads a texture runs after the pass that wrote it, and that is the only signal it uses.
A material that samples a global texture creates no such signal. Nothing in the graph says the pass writing that global has to run first, so the two can end up in either order, and the wrong order shows up as an effect that reads last frame's data or nothing at all.
That is what the grey Depends On ports are for. Connecting one declares a read the pass does not actually need, purely so Render Graph orders the two passes correctly. The connection carries no data, which is why it is drawn differently from the ones that do.