HomeSort by relevance Sort by last modified time
    Searched refs:MESH_SZ (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
vs-test.c 60 #define MESH_SZ 16
61 static struct vertex vertices[MESH_SZ * MESH_SZ];
159 for (x = 0; x < MESH_SZ; x++) {
160 for (y = 0; y < MESH_SZ; y++) {
161 int i = y * MESH_SZ + x;
162 vertices[i].position[0] = ((float)x)/MESH_SZ * 2.0 - 1.0;
163 vertices[i].position[1] = ((float)y)/MESH_SZ * 2.0 - 1.0;
168 vertices[i].color[1] = (float)x / (float)MESH_SZ;
169 vertices[i].color[2] = (float)y / (float)MESH_SZ;
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
vs-test.c 60 #define MESH_SZ 16
61 static struct vertex vertices[MESH_SZ * MESH_SZ];
159 for (x = 0; x < MESH_SZ; x++) {
160 for (y = 0; y < MESH_SZ; y++) {
161 int i = y * MESH_SZ + x;
162 vertices[i].position[0] = ((float)x)/MESH_SZ * 2.0 - 1.0;
163 vertices[i].position[1] = ((float)y)/MESH_SZ * 2.0 - 1.0;
168 vertices[i].color[1] = (float)x / (float)MESH_SZ;
169 vertices[i].color[2] = (float)y / (float)MESH_SZ;
    [all...]

Completed in 86 milliseconds