/external/deqp/framework/common/ |
D | tcuTexVerifierUtil.hpp | 36 float computeFloatingPointError (const float value, const int numAccurateBits); 37 float computeFixedPointError (const int numAccurateBits); 38 float computeColorBitsError (const int bits, const int numAccurateBits); 41 …FloatingPointError (const Vector<float, Size>& value, const Vector<deInt32, Size>& numAccurateBits) in computeFloatingPointError() argument 45 res[ndx] = computeFloatingPointError(value[ndx], numAccurateBits[ndx]); in computeFloatingPointError() 50 inline Vector<float, Size> computeFixedPointError (const Vector<deInt32, Size>& numAccurateBits) in computeFixedPointError() argument 54 res[ndx] = computeFixedPointError(numAccurateBits[ndx]); in computeFixedPointError() 59 …puteColorBitsError(const Vector<deInt32, Size>& bits, const Vector<deInt32, Size>& numAccurateBits) in computeColorBitsError() argument 63 res[ndx] = computeColorBitsError(bits[ndx], numAccurateBits[ndx]); in computeColorBitsError()
|
D | tcuTexVerifierUtil.cpp | 32 float computeFloatingPointError (const float value, const int numAccurateBits) in computeFloatingPointError() argument 34 DE_ASSERT(numAccurateBits >= 0); in computeFloatingPointError() 35 DE_ASSERT(numAccurateBits <= 23); in computeFloatingPointError() 37 const int numGarbageBits = 23-numAccurateBits; in computeFloatingPointError() 44 float computeFixedPointError (const int numAccurateBits) in computeFixedPointError() argument 46 return computeFloatingPointError(1.0f, numAccurateBits); in computeFixedPointError() 49 float computeColorBitsError(const int bits, const int numAccurateBits) in computeColorBitsError() argument 55 return (float(1 << (bits - numAccurateBits)) + 1.0f / 256.0f) / float((1 << bits) - 1); in computeColorBitsError()
|
D | tcuTexLookupVerifier.hpp | 105 Vec4 computeColorBitsThreshold (const IVec4& bits, const IVec4& numAccurateBits);
|
D | tcuTexLookupVerifier.cpp | 2206 Vec4 computeColorBitsThreshold(const IVec4& bits, const IVec4& numAccurateBits) in computeColorBitsThreshold() argument 2208 return computeColorBitsError(bits, numAccurateBits); in computeColorBitsThreshold()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderDerivateTests.cpp | 213 float computeFloatingPointError (const float value, const int numAccurateBits) in computeFloatingPointError() argument 215 const int numGarbageBits = 23-numAccurateBits; in computeFloatingPointError() 270 static float convertFloatFlushToZeroRtn (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtn() argument 279 const int numTruncatedBits = 23-numAccurateBits; in convertFloatFlushToZeroRtn() 300 …ntissa() & ~truncMask).asFloat() - getSingleULPForExponent(inputFloat.exponent(), numAccurateBits); in convertFloatFlushToZeroRtn() 311 static float convertFloatFlushToZeroRtp (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtp() argument 313 return -convertFloatFlushToZeroRtn(-value, minExponent, numAccurateBits); in convertFloatFlushToZeroRtp() 346 …const tcu::IVec4 numAccurateBits = max(baseBits - numBitsLost.asInt() - (int)INTERPOLATION_LOST_BI… in getDerivateThreshold() local 348 return tcu::Vec4(computeFloatingPointError(expectedDerivate[0], numAccurateBits[0]), in getDerivateThreshold() 349 computeFloatingPointError(expectedDerivate[1], numAccurateBits[1]), in getDerivateThreshold() [all …]
|
D | es3fShaderCommonFunctionTests.cpp | 123 inline deUint32 getMaxUlpDiffFromBits (int numAccurateBits) in getMaxUlpDiffFromBits() argument 125 const int numGarbageBits = 23-numAccurateBits; in getMaxUlpDiffFromBits() 131 inline float getEpsFromBits (float value, int numAccurateBits) in getEpsFromBits() argument 133 return getEpsFromMaxUlpDiff(value, getMaxUlpDiffFromBits(numAccurateBits)); in getEpsFromBits()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 183 float computeFloatingPointError (const float value, const int numAccurateBits) in computeFloatingPointError() argument 185 const int numGarbageBits = 23-numAccurateBits; in computeFloatingPointError() 240 static float convertFloatFlushToZeroRtn (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtn() argument 249 const int numTruncatedBits = 23-numAccurateBits; in convertFloatFlushToZeroRtn() 270 …ntissa() & ~truncMask).asFloat() - getSingleULPForExponent(inputFloat.exponent(), numAccurateBits); in convertFloatFlushToZeroRtn() 281 static float convertFloatFlushToZeroRtp (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtp() argument 283 return -convertFloatFlushToZeroRtn(-value, minExponent, numAccurateBits); in convertFloatFlushToZeroRtp() 302 …const tcu::IVec4 numAccurateBits = max(baseBits - numBitsLost.asInt() - (int)INTERPOLATION_LOST_BI… in getDerivateThreshold() local 304 return tcu::Vec4(computeFloatingPointError(expectedDerivate[0], numAccurateBits[0]), in getDerivateThreshold() 305 computeFloatingPointError(expectedDerivate[1], numAccurateBits[1]), in getDerivateThreshold() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 113 inline deUint64 getMaxUlpDiffFromBits (int numAccurateBits, int numTotalBits) in getMaxUlpDiffFromBits() argument 115 const int numGarbageBits = numTotalBits-numAccurateBits; in getMaxUlpDiffFromBits()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 127 inline deUint32 getMaxUlpDiffFromBits (int numAccurateBits) in getMaxUlpDiffFromBits() argument 129 const int numGarbageBits = 23-numAccurateBits; in getMaxUlpDiffFromBits() 135 inline float getEpsFromBits (float value, int numAccurateBits) in getEpsFromBits() argument 137 return getEpsFromMaxUlpDiff(value, getMaxUlpDiffFromBits(numAccurateBits)); in getEpsFromBits()
|