I didn't even warp the sand ripples along with the water, but just masked them out by the same rock bases. I could...
For those who want to know; the rocks are a soft perlin mask, displaced up 1m, then a compute normal and XYZ shader, then lateral and some normal displacement by a voronoi billow (reduced Y scale to 0.2). Basic stone mask also masks its colors. With color adjusts you can adjust hardness of the basic mask where needed.