Home | History | Annotate | Download | only in functional

Lines Matching defs:gridHeight

396 static void renderFloatReference (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, int numComponents, const float* vertices)
400 const float cellH = (float)dst.getHeight() / (float)(gridHeight-1);
407 const int cellY = de::clamp(deFloorFloatToInt32((float)y / cellH), 0, gridHeight-2);
427 static void renderIntReference (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, int numComponents, const int* vertices)
430 float cellH = (float)dst.getHeight() / (float)(gridHeight-1);
437 int cellY = de::clamp(deFloorFloatToInt32((float)y / cellH), 0, gridHeight-2);
489 const int gridHeight = de::clamp(minBufSize.y()/minCellSize, 1, 255)+1;
490 const int numVertices = gridWidth*gridHeight;
491 const int numQuads = (gridWidth-1)*(gridHeight-1);
543 for (int y = 0; y < gridHeight; y++)
548 float yf = (float)y / (float)(gridHeight-1);
596 for (int y = 0; y < gridHeight; y++)
601 float yf = (float)y / (float)(gridHeight-1);
634 const IVec4 rangeDiv = swizzleVec((IVec4(gridWidth, gridHeight, gridWidth, gridHeight)-1), curInVec);
638 for (int y = 0; y < gridHeight; y++)
643 int iy = gridHeight - y - 1;
670 const IVec4 rangeDiv = swizzleVec((IVec4(gridWidth, gridHeight, gridWidth, gridHeight)-1), curInVec);
676 for (int y = 0; y < gridHeight; y++)
681 int iy = gridHeight - y - 1;
790 renderIntReference(viewportBuf, gridWidth, gridHeight, scalarSize, (const int*)inputData);
792 renderFloatReference(viewportBuf, gridWidth, gridHeight, scalarSize, (const float*)inputData);