• Home
  • Raw
  • Download

Lines Matching refs:compNdx

374 	for (int compNdx = 0; compNdx < numComponents; compNdx++)  in operator <<()  local
376 if (compNdx != 0) in operator <<()
381 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<()
382 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<()
383 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
384 case glu::TYPE_BOOL: str << HexBool(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
544 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
546 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
547 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
553 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
560 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
562 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
563 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
568 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
637 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
639 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
640 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
647 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
654 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
656 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
657 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
663 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
743 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
745 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
746 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
753 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
764 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
766 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
767 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
785 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
833 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
835 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
836 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
837 const float out1 = ((const float*)outputs[1])[compNdx]; in compare()
851 …m_failMsg << "Expected [" << compNdx << "] = (" << HexFloat(refOut0) << ") + (" << HexFloat(refOut… in compare()
910 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
912 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
913 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
918 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
926 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
928 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
929 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
934 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
993 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
995 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
996 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
1001 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref); in compare()
1009 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1011 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1012 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
1017 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
1069 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1071 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1072 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
1078 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(refOut0) << " with threshold " in compare()
1138 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1140 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1141 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1146 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1200 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1202 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1203 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1210 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1221 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1223 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1224 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1242 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1306 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1308 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1309 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1318 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1329 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1331 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1332 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1350 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… 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()
1433 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " or " << HexFloat(ref1) << ",… in compare()
1445 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1457 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1459 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1460 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1478 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1534 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1536 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1537 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1544 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1555 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1557 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1558 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1583 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1652 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1654 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1655 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1662 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1672 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1674 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1675 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1686 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::… in compare()
1694 m_failMsg << "Expected [" << compNdx << "] < 1.0"; in compare()
1766 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1768 ((float*)values[0])[scalarSize*0 + compNdx] = 0.0f; in getInputValues()
1769 ((float*)values[0])[scalarSize*1 + compNdx] = -0.0f; in getInputValues()
1770 ((float*)values[0])[scalarSize*2 + compNdx] = 0.5f; in getInputValues()
1771 ((float*)values[0])[scalarSize*3 + compNdx] = -0.5f; in getInputValues()
1772 ((float*)values[0])[scalarSize*4 + compNdx] = 1.0f; in getInputValues()
1773 ((float*)values[0])[scalarSize*5 + compNdx] = -1.0f; in getInputValues()
1774 ((float*)values[0])[scalarSize*6 + compNdx] = 2.0f; in getInputValues()
1775 ((float*)values[0])[scalarSize*7 + compNdx] = -2.0f; in getInputValues()
1803 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1805 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1806 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1807 const int out1 = ((const int*)outputs[1])[compNdx]; in compare()
1818 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(refOut0) << ", " << refOut1 << " with U… in compare()
1869 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1871 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues()
1872 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues()
1886 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1894 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues()
1895 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues()
1908 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1924 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues()
1925 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues()
1942 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1944 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1945 const int in1 = ((const int*)inputs[1])[compNdx]; in compare()
1946 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1954 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(refOut0) << ", (exp = " << inExp << ") … in compare()
2089 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
2091 const float a = ((const float*)inputs[0])[compNdx]; in compare()
2092 const float b = ((const float*)inputs[1])[compNdx]; in compare()
2093 const float c = ((const float*)inputs[2])[compNdx]; in compare()
2094 const float res = ((const float*)outputs[0])[compNdx]; in compare()
2099 m_failMsg << "Expected [" << compNdx << "] = " << ref; in compare()