Lines Matching refs:valNdx
211 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate() local
213 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate()
214 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate()
216 const deUint32 res = outputs[valNdx]; in iterate()
226 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
227 << ", expected packSnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
299 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
301 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
302 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
305 const float res0 = outputs[valNdx].x(); in iterate()
306 const float res1 = outputs[valNdx].y(); in iterate()
315 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate()
316 << " expected unpackSnorm2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
402 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
404 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate()
405 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate()
407 const deUint32 res = outputs[valNdx]; in iterate()
417 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
418 << ", expected packUnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
490 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
492 const deUint16 in0 = (deUint16)(inputs[valNdx] & 0xffff); in iterate()
493 const deUint16 in1 = (deUint16)(inputs[valNdx] >> 16); in iterate()
496 const float res0 = outputs[valNdx].x(); in iterate()
497 const float res1 = outputs[valNdx].y(); in iterate()
506 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate()
507 << " expected unpackUnorm2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
598 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
600 const deUint16 ref0 = (deUint16)tcu::Float16(inputs[valNdx].x()).bits(); in iterate()
601 const deUint16 ref1 = (deUint16)tcu::Float16(inputs[valNdx].y()).bits(); in iterate()
603 const deUint32 res = outputs[valNdx]; in iterate()
613 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
614 << ", expected packHalf2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
701 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
703 const deUint16 in0 = (deUint16)(inputs[valNdx] & 0xffff); in iterate()
704 const deUint16 in1 = (deUint16)(inputs[valNdx] >> 16); in iterate()
707 const float res0 = outputs[valNdx].x(); in iterate()
708 const float res1 = outputs[valNdx].y(); in iterate()
722 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate()
723 << " expected unpackHalf2x16(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
813 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate() local
815 …const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f, … in iterate()
816 …const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, … in iterate()
817 …const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), -1.0f, … in iterate()
818 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), -1.0f, … in iterate()
820 const deUint32 res = outputs[valNdx]; in iterate()
834 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
835 << ", expected packSnorm4x8(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
907 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
909 const deInt8 in0 = (deInt8)(deUint8)(inputs[valNdx] & 0xff); in iterate()
910 const deInt8 in1 = (deInt8)(deUint8)((inputs[valNdx] >> 8) & 0xff); in iterate()
911 const deInt8 in2 = (deInt8)(deUint8)((inputs[valNdx] >> 16) & 0xff); in iterate()
912 const deInt8 in3 = (deInt8)(deUint8)(inputs[valNdx] >> 24); in iterate()
917 const float res0 = outputs[valNdx].x(); in iterate()
918 const float res1 = outputs[valNdx].y(); in iterate()
919 const float res2 = outputs[valNdx].z(); in iterate()
920 const float res3 = outputs[valNdx].w(); in iterate()
931 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate()
932 << " expected unpackSnorm4x8(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()
1022 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
1024 …const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, 1… in iterate()
1025 …const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, 1… in iterate()
1026 …const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), 0.0f, 1… in iterate()
1027 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), 0.0f, 1… in iterate()
1029 const deUint32 res = outputs[valNdx]; in iterate()
1043 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
1044 << ", expected packUnorm4x8(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
1116 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
1118 const deUint8 in0 = (deUint8)(inputs[valNdx] & 0xff); in iterate()
1119 const deUint8 in1 = (deUint8)((inputs[valNdx] >> 8) & 0xff); in iterate()
1120 const deUint8 in2 = (deUint8)((inputs[valNdx] >> 16) & 0xff); in iterate()
1121 const deUint8 in3 = (deUint8)(inputs[valNdx] >> 24); in iterate()
1126 const float res0 = outputs[valNdx].x(); in iterate()
1127 const float res1 = outputs[valNdx].y(); in iterate()
1128 const float res2 = outputs[valNdx].z(); in iterate()
1129 const float res3 = outputs[valNdx].w(); in iterate()
1140 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate()
1141 << " expected unpackUnorm4x8(" << tcu::toHex(inputs[valNdx]) << ") = " in iterate()