Lines Matching refs:gridsize
184 const int gridsize = resolution+1;
185 vector<Vec3> vertices (gridsize*gridsize);
189 for (int y = 0; y < gridsize; y++)
190 for (int x = 0; x < gridsize; x++)
197 vertices[y*gridsize + x] = Vec3(x_, y_, z_);
205 const Vec3& p0 = vertices[(y+0)*gridsize + (x+0)];
206 const Vec3& p1 = vertices[(y+0)*gridsize + (x+1)];
207 const Vec3& p2 = vertices[(y+1)*gridsize + (x+0)];
208 const Vec3& p3 = vertices[(y+1)*gridsize + (x+1)];
350 string getGridDiscardFragmentShader (int gridsize)
367 params["GRIDRENDER_SIZE"] = de::toString(gridsize);
466 glu::ProgramSources getGridDiscardShader (int gridsize)
468 return glu::makeVtxFragSources(getBaseVertexShader(), getGridDiscardFragmentShader(gridsize));
1486 PartialOccluderDiscardCullCase (TestContext& testCtx, const RenderContext& renderCtx, const char* name, const char* desc, int gridsize)
1488 , m_gridsize (gridsize)