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) << ")"
788 const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, 1.0f) * 127.0f), -(1<<7), (1<<7)-1);
791 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0);
798 const int diff1 = de::abs((int)ref1 - (int)res1);
886 const float ref1 = de::clamp(float(in1) / 127.f, -1.0f, 1.0f);
895 const deUint32 diff1 = getUlpDiff(ref1, res1);
905 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"
997 const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, 1.0f) * 255.0f), 0, (1<<8)-1);
1000 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0);
1007 const int diff1 = de::abs((int)ref1 - (int)res1);
1095 const float ref1 = de::clamp(float(in1) / 255.f, 0.0f, 1.0f);
1104 const deUint32 diff1 = getUlpDiff(ref1, res1);
1114 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"