Lines Matching defs:ref1
214 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1);
215 const deUint32 ref = (ref1 << 16) | ref0;
220 const int diff1 = de::abs((int)ref1 - (int)res1);
304 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f);
309 const deUint32 diff1 = getUlpDiff(ref1, res1);
317 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
405 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, 1.0f) * 65535.0f), 0, (1<<16)-1);
406 const deUint32 ref = (ref1 << 16) | ref0;
411 const int diff1 = de::abs((int)ref1 - (int)res1);
495 const float ref1 = float(in1) / 65535.0f;
500 const deUint32 diff1 = getUlpDiff(ref1, res1);
508 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
601 const deUint16 ref1 = (deUint16)tcu::Float16(inputs[valNdx].y()).bits();
602 const deUint32 ref = (ref1 << 16) | ref0;
607 const int diff1 = de::abs((int)ref1 - (int)res1);
706 const float ref1 = tcu::Float16(in1).asFloat();
711 const deUint32 refBits1 = tcu::Float32(ref1).bits();
724 << "vec2(" << ref0 << " / " << tcu::toHex(refBits0) << ", " << ref1 << " / " << tcu::toHex(refBits1) << ")"
816 const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, 1.0f) * 127.0f), -(1<<7), (1<<7)-1);
819 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0);
826 const int diff1 = de::abs((int)ref1 - (int)res1);
914 const float ref1 = de::clamp(float(in1) / 127.f, -1.0f, 1.0f);
923 const deUint32 diff1 = getUlpDiff(ref1, res1);
933 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"
1025 const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, 1.0f) * 255.0f), 0, (1<<8)-1);
1028 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0);
1035 const int diff1 = de::abs((int)ref1 - (int)res1);
1123 const float ref1 = de::clamp(float(in1) / 255.f, 0.0f, 1.0f);
1132 const deUint32 diff1 = getUlpDiff(ref1, res1);
1142 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"