Searched refs:numMantissaBits (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | Convert.h | 82 template<UINT numMantissaBits> 104 mant = 1 << numMantissaBits; in Convert32ToSmallFloat() 114 mant = (1 << numMantissaBits) - 1; // 0x3F for 6 bit mantissa. in Convert32ToSmallFloat() 122 mant = mant >> (23 - numMantissaBits); in Convert32ToSmallFloat() 135 mant = mant >> (23 - numMantissaBits); in Convert32ToSmallFloat() 142 if ((mant & (0x3 << numMantissaBits)) != 0) // 0x60 = 0x3 << (num Mantissa Bits) in Convert32ToSmallFloat() 145 mant &= (1 << numMantissaBits) - 1; in Convert32ToSmallFloat() 149 UINT tmpVal = (exp << numMantissaBits) | mant; in Convert32ToSmallFloat()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderDerivateTests.cpp | 248 static float getSingleULPForExponent (int exp, int numMantissaBits) in getSingleULPForExponent() argument 250 if (numMantissaBits > 0) in getSingleULPForExponent() 252 DE_ASSERT(numMantissaBits <= 23); in getSingleULPForExponent() 254 const int ulpBitNdx = 23-numMantissaBits; in getSingleULPForExponent() 259 DE_ASSERT(numMantissaBits == 0); in getSingleULPForExponent() 264 static float getSingleULPForValue (float value, int numMantissaBits) in getSingleULPForValue() argument 267 return getSingleULPForExponent(exp, numMantissaBits); in getSingleULPForValue() 316 static float addErrorUlp (float value, float numUlps, int numMantissaBits) in addErrorUlp() argument 318 return value + numUlps * getSingleULPForValue(value, numMantissaBits); in addErrorUlp()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 218 static float getSingleULPForExponent (int exp, int numMantissaBits) in getSingleULPForExponent() argument 220 if (numMantissaBits > 0) in getSingleULPForExponent() 222 DE_ASSERT(numMantissaBits <= 23); in getSingleULPForExponent() 224 const int ulpBitNdx = 23-numMantissaBits; in getSingleULPForExponent() 229 DE_ASSERT(numMantissaBits == 0); in getSingleULPForExponent() 234 static float getSingleULPForValue (float value, int numMantissaBits) in getSingleULPForValue() argument 237 return getSingleULPForExponent(exp, numMantissaBits); in getSingleULPForValue() 286 static float addErrorUlp (float value, float numUlps, int numMantissaBits) in addErrorUlp() argument 288 return value + numUlps * getSingleULPForValue(value, numMantissaBits); in addErrorUlp()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 201 const int numMantissaBits = getMinMantissaBits(precision); in makeFloatRepresentable() local 204 …2 representableMantissaMask = ((deUint32(1) << numMantissaBits) - 1) << (23 - (deUint32)numMantis… in makeFloatRepresentable() 205 …ctBits(+1, maxNormalizedValueExponent, ((1u << numMantissaBits) - 1u) << (23u - (deUint32)numManti… in makeFloatRepresentable()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 205 const int numMantissaBits = getMinMantissaBits(precision); in makeFloatRepresentable() local 208 …2 representableMantissaMask = ((deUint32(1) << numMantissaBits) - 1) << (23 - (deUint32)numMantis… in makeFloatRepresentable() 209 …ctBits(+1, maxNormalizedValueExponent, ((1u << numMantissaBits) - 1u) << (23u - (deUint32)numManti… in makeFloatRepresentable()
|