Benchmarks

MESA - Interpolate Aux

DFG
      /* Linear interpolation between A and B: */
      #define LINTERP( T, A, B )   ( (A) + (T) * ( (B) - (A) ) )

      VB->TexCoord[dst][0] = LINTERP(t,VB->TexCoord[in][0],VB->TexCoord[out][0]);
      VB->TexCoord[dst][1] = LINTERP(t,VB->TexCoord[in][1],VB->TexCoord[out][1]);
      VB->TexCoord[dst][2] = LINTERP(t,VB->TexCoord[in][2],VB->TexCoord[out][2]);
      VB->TexCoord[dst][3] = LINTERP(t,VB->TexCoord[in][3],VB->TexCoord[out][3]);
		
Number of nodes 108
Number of edges 104
Avg. edges per node 0.96
Critical Path Length 8
Parallelism (nodes/critical path) 13.5
DOT File
Full C Function
MESA Application

The interploate aux function performs linear interpolation between two points. More specifically, it interpolates between the input and output points, giving a destination result somewhere between the two points based on the normalizes time supplied. The method interpolates between colors texture coordinates and indexes.