Searched refs:HeightArray (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A Darray.c23 "uniform float HeightArray[20]; \n"
28 " pos.z = HeightArray[i]; \n"
214 GLfloat HeightArray[20]; local in function:Init
226 /* Setup the HeightArray[] uniform */
228 HeightArray[i] = i / 20.0;
229 u = glGetUniformLocation(program, "HeightArray");
230 glUniform1fv(u, 20, HeightArray);

Completed in 2 milliseconds