Lines Matching defs:ref1
210 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1);
211 const deUint32 ref = (ref1 << 16) | ref0;
216 const int diff1 = de::abs((int)ref1 - (int)res1);
300 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f);
305 const deUint32 diff1 = getUlpDiff(ref1, res1);
313 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
401 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, 1.0f) * 65535.0f), 0, (1<<16)-1);
402 const deUint32 ref = (ref1 << 16) | ref0;
407 const int diff1 = de::abs((int)ref1 - (int)res1);
491 const float ref1 = float(in1) / 65535.0f;
496 const deUint32 diff1 = getUlpDiff(ref1, res1);
504 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
597 const deUint16 ref1 = (deUint16)tcu::Float16(inputs[valNdx].y()).bits();
598 const deUint32 ref = (ref1 << 16) | ref0;
603 const int diff1 = de::abs((int)ref1 - (int)res1);
702 const float ref1 = tcu::Float16(in1).asFloat();
707 const deUint32 refBits1 = tcu::Float32(ref1).bits();
720 << "vec2(" << ref0 << " / " << tcu::toHex(refBits0) << ", " << ref1 << " / " << tcu::toHex(refBits1) << ")"