LWRP - Vertex displacement and intersection shader shows artefacts

Others have run in to this issue after following an ocean tutorial. Apparently the displacement is being calculated before or after the depth, causing the issue. Does anyone have any ideas on how to fix it?

Link to the other discussion on Reddit.
link text

The desired effect

alt text

What happens when you use the vertex displacement code

alt text

The shader in question

alt text

I am experiencing the same problems…