Lines Matching refs:compNdx
363 for (int compNdx = 0; compNdx < numComponents; compNdx++) in operator <<() local
365 if (compNdx != 0) in operator <<()
370 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<()
371 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<()
372 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
373 case glu::TYPE_BOOL: str << HexBool(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
505 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
507 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
508 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
514 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
521 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
523 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
524 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
529 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
598 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
600 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
601 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
608 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
615 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
617 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
618 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
624 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
704 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
706 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
707 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
714 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
725 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
727 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
728 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
746 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
794 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
796 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
797 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
798 const float out1 = ((const float*)outputs[1])[compNdx]; in compare()
812 …m_failMsg << "Expected [" << compNdx << "] = (" << HexFloat(refOut0) << ") + (" << HexFloat(refOut… in compare()
871 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
873 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
874 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
879 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
887 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
889 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
890 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
895 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
954 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
956 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
957 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
962 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref); in compare()
970 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
972 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
973 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
978 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
1030 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1032 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1033 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
1039 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(refOut0) << " with threshold " in compare()
1099 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1101 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1102 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1107 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1161 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1163 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1164 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1171 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1182 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1184 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1185 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1203 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1267 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1269 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1270 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1279 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1290 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1292 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1293 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1311 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1379 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1381 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1382 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1394 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " or " << HexFloat(ref1) << ",… in compare()
1406 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1418 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1420 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1421 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1439 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1495 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1497 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1498 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1505 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1516 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1518 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1519 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1544 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1613 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1615 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1616 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1623 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1633 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1635 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1636 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1647 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::… in compare()
1655 m_failMsg << "Expected [" << compNdx << "] < 1.0"; in compare()
1727 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1729 ((float*)values[0])[scalarSize*0 + compNdx] = 0.0f; in getInputValues()
1730 ((float*)values[0])[scalarSize*1 + compNdx] = -0.0f; in getInputValues()
1731 ((float*)values[0])[scalarSize*2 + compNdx] = 0.5f; in getInputValues()
1732 ((float*)values[0])[scalarSize*3 + compNdx] = -0.5f; in getInputValues()
1733 ((float*)values[0])[scalarSize*4 + compNdx] = 1.0f; in getInputValues()
1734 ((float*)values[0])[scalarSize*5 + compNdx] = -1.0f; in getInputValues()
1735 ((float*)values[0])[scalarSize*6 + compNdx] = 2.0f; in getInputValues()
1736 ((float*)values[0])[scalarSize*7 + compNdx] = -2.0f; in getInputValues()
1763 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1765 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1766 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1767 const int out1 = ((const int*)outputs[1])[compNdx]; in compare()
1778 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(refOut0) << ", " << refOut1 << " with U… in compare()
1829 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1831 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues()
1832 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues()
1846 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1854 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues()
1855 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues()
1868 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1884 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues()
1885 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues()
1902 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1904 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1905 const int in1 = ((const int*)inputs[1])[compNdx]; in compare()
1906 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1914 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(refOut0) << ", (exp = " << inExp << ") … in compare()
2053 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
2055 const float a = ((const float*)inputs[0])[compNdx]; in compare()
2056 const float b = ((const float*)inputs[1])[compNdx]; in compare()
2057 const float c = ((const float*)inputs[2])[compNdx]; in compare()
2058 const float res = ((const float*)outputs[0])[compNdx]; in compare()
2063 m_failMsg << "Expected [" << compNdx << "] = " << ref; in compare()