Home | History | Annotate | Download | only in functional

Lines Matching refs:ref0

213 				const deUint16	ref0	= (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1);
215 const deUint32 ref = (ref1 << 16) | ref0;
219 const int diff0 = de::abs((int)ref0 - (int)res0);
303 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f);
308 const deUint32 diff0 = getUlpDiff(ref0, res0);
317 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
404 const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, 1.0f) * 65535.0f), 0, (1<<16)-1);
406 const deUint32 ref = (ref1 << 16) | ref0;
410 const int diff0 = de::abs((int)ref0 - (int)res0);
494 const float ref0 = float(in0) / 65535.0f;
499 const deUint32 diff0 = getUlpDiff(ref0, res0);
508 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")"
600 const deUint16 ref0 = (deUint16)tcu::Float16(inputs[valNdx].x()).bits();
602 const deUint32 ref = (ref1 << 16) | ref0;
606 const int diff0 = de::abs((int)ref0 - (int)res0);
705 const float ref0 = tcu::Float16(in0).asFloat();
710 const deUint32 refBits0 = tcu::Float32(ref0).bits();
724 << "vec2(" << ref0 << " / " << tcu::toHex(refBits0) << ", " << ref1 << " / " << tcu::toHex(refBits1) << ")"
815 const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -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);
825 const int diff0 = de::abs((int)ref0 - (int)res0);
913 const float ref0 = de::clamp(float(in0) / 127.f, -1.0f, 1.0f);
922 const deUint32 diff0 = getUlpDiff(ref0, res0);
933 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"
1024 const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 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);
1034 const int diff0 = de::abs((int)ref0 - (int)res0);
1122 const float ref0 = de::clamp(float(in0) / 255.f, 0.0f, 1.0f);
1131 const deUint32 diff0 = getUlpDiff(ref0, res0);
1142 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"