Lines Matching refs:ref0

185 				const deUint16	ref0	= (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1);
187 const deUint32 ref = (ref1 << 16) | ref0;
191 const int diff0 = de::abs((int)ref0 - (int)res0);
275 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f);
280 const deUint32 diff0 = getUlpDiff(ref0, res0);
289 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
376 const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, 1.0f) * 65535.0f), 0, (1<<16)-1);
378 const deUint32 ref = (ref1 << 16) | ref0;
382 const int diff0 = de::abs((int)ref0 - (int)res0);
466 const float ref0 = float(in0) / 65535.0f;
471 const deUint32 diff0 = getUlpDiff(ref0, res0);
480 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
572 const deUint16 ref0 = (deUint16)tcu::Float16(inputs[valNdx].x()).bits();
574 const deUint32 ref = (ref1 << 16) | ref0;
578 const int diff0 = de::abs((int)ref0 - (int)res0);
677 const float ref0 = tcu::Float16(in0).asFloat();
682 const deUint32 refBits0 = tcu::Float32(ref0).bits();
696 << "vec2(" << ref0 << " / " << tcu::toHex(refBits0) << ", " << ref1 << " / " << tcu::toHex(refBits1) << ")"
787 const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -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);
797 const int diff0 = de::abs((int)ref0 - (int)res0);
885 const float ref0 = de::clamp(float(in0) / 127.f, -1.0f, 1.0f);
894 const deUint32 diff0 = getUlpDiff(ref0, res0);
905 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"
996 const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 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);
1006 const int diff0 = de::abs((int)ref0 - (int)res0);
1094 const float ref0 = de::clamp(float(in0) / 255.f, 0.0f, 1.0f);
1103 const deUint32 diff0 = getUlpDiff(ref0, res0);
1114 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"