Lines Matching refs:expectedDerivate
340 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4& expectedDerivate)
343 const tcu::UVec4 derivExp = getCompExpBits(expectedDerivate);
348 return tcu::Vec4(computeFloatingPointError(expectedDerivate[0], numAccurateBits[0]),
349 computeFloatingPointError(expectedDerivate[1], numAccurateBits[1]),
350 computeFloatingPointError(expectedDerivate[2], numAccurateBits[2]),
351 computeFloatingPointError(expectedDerivate[3], numAccurateBits[3]));
354 static inline tcu::Vec4 getDerivateThresholdWarning (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4& expectedDerivate)
357 const tcu::UVec4 derivExp = getCompExpBits(expectedDerivate);
362 return tcu::Vec4(computeFloatingPointError(expectedDerivate[0], numAccurateBits[0]),
363 computeFloatingPointError(expectedDerivate[1], numAccurateBits[1]),
364 computeFloatingPointError(expectedDerivate[2], numAccurateBits[2]),
365 computeFloatingPointError(expectedDerivate[3], numAccurateBits[3]));