Home
last modified time | relevance | path

Searched refs:numAccurateBits (Results 1 – 7 of 7) sorted by relevance

/external/deqp/framework/common/
DtcuTexVerifierUtil.hpp36 float computeFloatingPointError (const float value, const int numAccurateBits);
37 float computeFixedPointError (const int numAccurateBits);
40 …FloatingPointError (const Vector<float, Size>& value, const Vector<deInt32, Size>& numAccurateBits) in computeFloatingPointError() argument
44 res[ndx] = computeFloatingPointError(value[ndx], numAccurateBits[ndx]); in computeFloatingPointError()
49 inline Vector<float, Size> computeFixedPointError (const Vector<deInt32, Size>& numAccurateBits) in computeFixedPointError() argument
53 res[ndx] = computeFixedPointError(numAccurateBits[ndx]); in computeFixedPointError()
DtcuTexVerifierUtil.cpp32 float computeFloatingPointError (const float value, const int numAccurateBits) in computeFloatingPointError() argument
34 const int numGarbageBits = 23-numAccurateBits; in computeFloatingPointError()
41 float computeFixedPointError (const int numAccurateBits) in computeFixedPointError() argument
43 return computeFloatingPointError(1.0f, numAccurateBits); in computeFixedPointError()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp213 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 …]
Des3fShaderCommonFunctionTests.cpp136 inline deUint32 getMaxUlpDiffFromBits (int numAccurateBits) in getMaxUlpDiffFromBits() argument
138 const int numGarbageBits = 23-numAccurateBits; in getMaxUlpDiffFromBits()
144 inline float getEpsFromBits (float value, int numAccurateBits) in getEpsFromBits() argument
146 return getEpsFromMaxUlpDiff(value, getMaxUlpDiffFromBits(numAccurateBits)); in getEpsFromBits()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp183 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/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp140 inline deUint32 getMaxUlpDiffFromBits (int numAccurateBits) in getMaxUlpDiffFromBits() argument
142 const int numGarbageBits = 23-numAccurateBits; in getMaxUlpDiffFromBits()
148 inline float getEpsFromBits (float value, int numAccurateBits) in getEpsFromBits() argument
150 return getEpsFromMaxUlpDiff(value, getMaxUlpDiffFromBits(numAccurateBits)); in getEpsFromBits()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp144 inline deUint32 getMaxUlpDiffFromBits (int numAccurateBits) in getMaxUlpDiffFromBits() argument
146 const int numGarbageBits = 23-numAccurateBits; in getMaxUlpDiffFromBits()
152 inline float getEpsFromBits (float value, int numAccurateBits) in getEpsFromBits() argument
154 return getEpsFromMaxUlpDiff(value, getMaxUlpDiffFromBits(numAccurateBits)); in getEpsFromBits()