Lines Matching defs:dst
397 static void renderFloatReference (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, int numComponents, const float* vertices)
399 const bool isSRGB = tcu::isSRGB(dst.getFormat());
400 const float cellW = (float)dst.getWidth() / (float)(gridWidth-1);
401 const float cellH = (float)dst.getHeight() / (float)(gridHeight-1);
403 for (int y = 0; y < dst.getHeight(); y++)
405 for (int x = 0; x < dst.getWidth(); x++)
423 dst.setPixel(isSRGB ? tcu::linearToSRGB(color) : color, x, y);
428 static void renderIntReference (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, int numComponents, const int* vertices)
430 float cellW = (float)dst.getWidth() / (float)(gridWidth-1);
431 float cellH = (float)dst.getHeight() / (float)(gridHeight-1);
433 for (int y = 0; y < dst.getHeight(); y++)
435 for (int x = 0; x < dst.getWidth(); x++)
441 dst.setPixel(c, x, y);
648 float* dst = (float*)&inputs[curInVec][0];
672 float* v = dst + (y*gridWidth + x)*numScalars;
702 deInt32* dst = (deInt32*)&inputs[curInVec][0];
711 deInt32* v = dst + (y*gridWidth + x)*numScalars;
738 deUint32* dst = &inputs[curInVec][0];
749 deUint32* v = dst + (y*gridWidth + x)*numScalars;
824 void* dst = &attachments[ndx].renderedData[0];
831 gl.readPixels(0, 0, minBufSize.x(), minBufSize.y(), transferFmt.format, transferFmt.dataType, dst);