Accessing other vertexes on material editor

Hi guys… i’m using some functions to create waves on my material editor… using tesselation on the results…

I want to be able to recognize the max/mins of those functions… but i don’t want to re-create my material functions as their derivate…
If i’m able to access the other vertexes i would be able to get the estimated delta and thus have an idea of the rate of change of that function… but i’m not able to find anything remotely related to that… only DDX and DDY functions… that have nothing to do with this…

Is it possible to access other vertexes on the functions? or should i try to derivate my functions… etc?
Thanks

No, it is not possible. It is nature of GPUs to work that way. If you are talking about vertex shader, you have only access to a single vertex, being processed at the moment.

Thanks… just needed to know that!