Lines Matching defs:bits

24  *		 floatBitsToUint() in shader to write out floating-point value bits.
289 // If 32-bit reference value is used, 2 bits of rounding error must be allowed.
291 // For mediump and lowp types the comparison currently allows 3 bits of rounding error:
292 // two bits from conversions and one from actual operation.
307 m_testCtx.getLog() << TestLog::Message << "Assuming " << mantissaBits << " mantissa bits, " << numLostBits << " bits lost in operation, and " << roundingUlpError << " ULP rounding error."
311 const deUint64 refBits = tcu::Float64(reference).bits();
312 const deUint64 resBits = tcu::Float64(result).bits();
319 m_testCtx.getLog() << TestLog::Message << "ERROR: comparison failed! ULP diff (ignoring lost/undefined bits) = " << ulpDiff << TestLog::EndMessage;
371 << "in0 = " << in0 << " / " << tcu::toHex(tcu::Float32(in0).bits())
372 << ", in1 = " << in1 << " / " << tcu::toHex(tcu::Float32(in1).bits())
374 << TestLog::Message << " reference = " << refF << " / " << tcu::toHex(tcu::Float32(refF).bits()) << TestLog::EndMessage;
384 log << TestLog::Message << " result = " << pixels[0] << " / " << tcu::toHex(tcu::Float32(pixels[0]).bits()) << TestLog::EndMessage;
393 const deUint32 firstPixelBits = tcu::Float32(pixels[0]).bits();
400 const deUint32 pixelBits = tcu::Float32(pixels[(y*FRAMEBUFFER_WIDTH + x)*4]).bits();
436 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);
467 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)
472 , m_bits (bits)
523 log << TestLog::Message << "Number of accurate bits assumed = " << m_bits << TestLog::EndMessage;
630 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);
661 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)
666 , m_bits (bits)
717 log << TestLog::Message << "Number of accurate bits assumed = " << m_bits << TestLog::EndMessage;
881 int bits;
907 int bits;
958 intCases[ndx].bits,
967 intCases[ndx].bits,
982 uintCases[ndx].bits,
991 uintCases[ndx].bits,