• Home
  • Raw
  • Download

Lines Matching refs:compNdx

375 	for (int compNdx = 0; compNdx < numComponents; compNdx++)  in operator <<()  local
377 if (compNdx != 0) in operator <<()
382 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<()
383 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<()
384 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
385 case glu::TYPE_BOOL: str << HexBool(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
545 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
547 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
548 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
554 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
561 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
563 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
564 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
569 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
638 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
640 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
641 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
648 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
655 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
657 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
658 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
664 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
744 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
746 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
747 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
754 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
765 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
767 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
768 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
786 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
834 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
836 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
837 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
838 const float out1 = ((const float*)outputs[1])[compNdx]; in compare()
852 …m_failMsg << "Expected [" << compNdx << "] = (" << HexFloat(refOut0) << ") + (" << HexFloat(refOut… in compare()
911 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
913 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
914 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
919 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
927 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
929 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
930 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
935 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
994 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
996 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
997 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
1002 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref); in compare()
1010 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1012 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1013 const bool out0 = ((const deUint32*)outputs[0])[compNdx] != 0; in compare()
1018 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false"); in compare()
1070 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1072 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1073 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
1079 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(refOut0) << " with threshold " in compare()
1139 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1141 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1142 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1147 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1201 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1203 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1204 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1211 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1222 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1224 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1225 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1243 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1307 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1309 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1310 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1319 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1330 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1332 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1333 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1351 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1419 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1421 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1422 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1434 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " or " << HexFloat(ref1) << ",… in compare()
1446 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1458 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1460 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1461 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1479 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1535 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1537 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1538 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1545 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1556 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1558 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1559 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1584 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1653 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1655 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1656 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1663 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1673 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1675 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1676 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1687 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::… in compare()
1695 m_failMsg << "Expected [" << compNdx << "] < 1.0"; in compare()
1767 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
1769 ((float*)values[0])[scalarSize*0 + compNdx] = 0.0f; in getInputValues()
1770 ((float*)values[0])[scalarSize*1 + compNdx] = -0.0f; in getInputValues()
1771 ((float*)values[0])[scalarSize*2 + compNdx] = 0.5f; in getInputValues()
1772 ((float*)values[0])[scalarSize*3 + compNdx] = -0.5f; in getInputValues()
1773 ((float*)values[0])[scalarSize*4 + compNdx] = 1.0f; in getInputValues()
1774 ((float*)values[0])[scalarSize*5 + compNdx] = -1.0f; in getInputValues()
1775 ((float*)values[0])[scalarSize*6 + compNdx] = 2.0f; in getInputValues()
1776 ((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()
2092 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
2094 const float a = ((const float*)inputs[0])[compNdx]; in compare()
2095 const float b = ((const float*)inputs[1])[compNdx]; in compare()
2096 const float c = ((const float*)inputs[2])[compNdx]; in compare()
2097 const float res = ((const float*)outputs[0])[compNdx]; in compare()
2102 m_failMsg << "Expected [" << compNdx << "] = " << ref; in compare()