Home | History | Annotate | Download | only in functional

Lines Matching defs:bits

24  *		 floatBitsToUint() in shader to write out floating-point value bits.
310 // If 32-bit reference value is used, 2 bits of rounding error must be allowed.
312 // For mediump and lowp types the comparison currently allows 3 bits of rounding error:
313 // two bits from conversions and one from actual operation.
328 m_testCtx.getLog() << TestLog::Message << "Assuming " << mantissaBits << " mantissa bits, " << numLostBits << " bits lost in operation, and " << roundingUlpError << " ULP rounding error."
332 const deUint64 refBits = tcu::Float64(reference).bits();
333 const deUint64 resBits = tcu::Float64(result).bits();
340 m_testCtx.getLog() << TestLog::Message << "ERROR: comparison failed! ULP diff (ignoring lost/undefined bits) = " << ulpDiff << TestLog::EndMessage;
392 << "in0 = " << in0 << " / " << tcu::toHex(tcu::Float32(in0).bits())
393 << ", in1 = " << in1 << " / " << tcu::toHex(tcu::Float32(in1).bits())
395 << TestLog::Message << " reference = " << refF << " / " << tcu::toHex(tcu::Float32(refF).bits()) << TestLog::EndMessage;
405 log << TestLog::Message << " result = " << pixels[0] << " / " << tcu::toHex(tcu::Float32(pixels[0]).bits()) << TestLog::EndMessage;
414 const deUint32 firstPixelBits = tcu::Float32(pixels[0]).bits();
421 const deUint32 pixelBits = tcu::Float32(pixels[(y*FRAMEBUFFER_WIDTH + x)*4]).bits();
457 ShaderIntPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::IVec2& rangeA, const tcu::IVec2& rangeB, bool isVertexCase);
488 ShaderIntPrecisionCase::ShaderIntPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::IVec2& rangeA, const tcu::IVec2& rangeB, bool isVertexCase)
493 , m_bits (bits)
544 log << TestLog::Message << "Number of accurate bits assumed = " << m_bits << TestLog::EndMessage;
562 inline int extendTo32Bit (int value, int bits)
564 return (value & ((1<<(bits-1))-1)) | (((value & (1<<(bits-1))) << (32-bits)) >> (32-bits));
656 ShaderUintPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::UVec2& rangeA, const tcu::UVec2& rangeB, bool isVertexCase);
687 ShaderUintPrecisionCase::ShaderUintPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::UVec2& rangeA, const tcu::UVec2& rangeB, bool isVertexCase)
692 , m_bits (bits)
743 log << TestLog::Message << "Number of accurate bits assumed = " << m_bits << TestLog::EndMessage;
907 int bits;
912 // Name Op Eval Precision Bits RangeA RangeB
933 int bits;
938 // Name Op Eval Precision Bits RangeA RangeB
984 intCases[ndx].bits,
993 intCases[ndx].bits,
1008 uintCases[ndx].bits,
1017 uintCases[ndx].bits,