Home | History | Annotate | Download | only in functional

Lines Matching defs:ref2

817 				const deUint16	ref2	= (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), -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);
827 const int diff2 = de::abs((int)ref2 - (int)res2);
915 const float ref2 = de::clamp(float(in2) / 127.f, -1.0f, 1.0f);
924 const deUint32 diff2 = getUlpDiff(ref2, res2);
933 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"
1026 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), 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);
1036 const int diff2 = de::abs((int)ref2 - (int)res2);
1124 const float ref2 = de::clamp(float(in2) / 255.f, 0.0f, 1.0f);
1133 const deUint32 diff2 = getUlpDiff(ref2, res2);
1142 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"