Fix barycentrics computation in a graph mode.
Fix barycentrics computation in a graph mode.

PiperOrigin-RevId: 368289562

tensorflow/graphics,tensorflow/graphics,tensorflow/graphics,tensorflow/graphics,tensorflow/graphics