Lines Matching defs:ref1
186 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1);
187 const deUint32 ref = (ref1 << 16) | ref0;
192 const int diff1 = de::abs((int)ref1 - (int)res1);
276 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f);
281 const deUint32 diff1 = getUlpDiff(ref1, res1);
289 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
377 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, 1.0f) * 65535.0f), 0, (1<<16)-1);
378 const deUint32 ref = (ref1 << 16) | ref0;
383 const int diff1 = de::abs((int)ref1 - (int)res1);
467 const float ref1 = float(in1) / 65535.0f;
472 const deUint32 diff1 = getUlpDiff(ref1, res1);
480 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
573 const deUint16 ref1 = (deUint16)tcu::Float16(inputs[valNdx].y()).bits();
574 const deUint32 ref = (ref1 << 16) | ref0;
579 const int diff1 = de::abs((int)ref1 - (int)res1);
678 const float ref1 = tcu::Float16(in1).asFloat();
683 const deUint32 refBits1 = tcu::Float32(ref1).bits();
696 << "vec2(" << ref0 << " / " << tcu::toHex(refBits0) << ", " << ref1 << " / " << tcu::toHex(refBits1) << ")"