RWBuffer and Buffer in compute shaders when they binding with the same resource

Thank you again~~

Here I have a question:

Since we create a FRDGBufferDesc and FRDGBufferRef every frame(in the pass body), how can it gurantee the data sync between frames? The RDG resources are bound with GraphBuilder lifetime, so we cannot store the resources somewhere.

Imagine that I need to do some calculations based on the exsit data in some buffer.