Home | History | Annotate | Download | only in common

Lines Matching refs:Vec4

44 void computeScaleAndBias (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, tcu::Vec4& scale, tcu::Vec4& bias)
46 Vec4 minVal;
47 Vec4 maxVal;
51 Vec4 refMin;
52 Vec4 refMax;
60 Vec4 resMin;
61 Vec4 resMax;
222 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
223 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);
342 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
343 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);
455 static tcu::UVec4 computeFlushRelaxedULPDiff (const tcu::Vec4& a, const tcu::Vec4& b)
494 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
495 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);
505 const Vec4 refPix = reference.getPixel(x, y, z);
506 const Vec4 cmpPix = result.getPixel(x, y, z);
512 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z);
572 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode)
579 Vec4 maxDiff (0.0f, 0.0f, 0.0f, 0.0f);
580 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
581 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);
591 Vec4 refPix = reference.getPixel(x, y, z);
592 Vec4 cmpPix = result.getPixel(x, y, z);
594 Vec4 diff = abs(refPix - cmpPix);
599 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z);
659 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode)
667 Vec4 maxDiff (0.0f, 0.0f, 0.0f, 0.0f);
668 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
669 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);
677 const Vec4 cmpPix = result.getPixel(x, y, z);
678 const Vec4 diff = abs(reference - cmpPix);
683 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z);
749 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
750 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);
845 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
846 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);
924 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
925 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);
1009 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
1010 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f);