Lines Matching refs:ref2
789 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), -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);
799 const int diff2 = de::abs((int)ref2 - (int)res2);
887 const float ref2 = de::clamp(float(in2) / 127.f, -1.0f, 1.0f);
896 const deUint32 diff2 = getUlpDiff(ref2, res2);
905 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"
998 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), 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);
1008 const int diff2 = de::abs((int)ref2 - (int)res2);
1096 const float ref2 = de::clamp(float(in2) / 255.f, 0.0f, 1.0f);
1105 const deUint32 diff2 = getUlpDiff(ref2, res2);
1114 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")"