Lines Matching refs:compNdx
301 for (int compNdx = 0; compNdx < numComponents; compNdx++) in operator <<() local
303 if (compNdx != 0) in operator <<()
308 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<()
309 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<()
310 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
311 case glu::TYPE_BOOL: str << HexBool(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
467 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
469 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
470 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
476 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
483 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
485 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
486 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
491 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
560 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
562 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
563 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
570 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
577 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
579 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
580 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
586 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
666 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
668 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
669 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
676 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
687 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
689 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
690 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
708 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
756 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
758 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
759 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
760 const float out1 = ((const float*)outputs[1])[compNdx]; in compare()
774 …m_failMsg << "Expected [" << compNdx << "] = (" << HexFloat(refOut0) << ") + (" << HexFloat(refOut… 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 deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
841 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref); in compare()
849 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
851 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
855 m_failMsg << "Expected [" << compNdx << "] = 0 / 1"; in compare()
914 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
916 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
917 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
922 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref); in compare()
930 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
932 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
936 m_failMsg << "Expected [" << compNdx << "] = 0 / 1"; in compare()
987 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
989 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
990 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
996 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(refOut0) << " with threshold " in compare()
1056 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1058 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1059 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1064 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1118 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1120 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1121 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1128 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… 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()
1160 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1224 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1226 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1227 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1236 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1247 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1249 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1250 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1268 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1336 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1338 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1339 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1351 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " or " << HexFloat(ref1) << ",… in compare()
1363 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1375 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1377 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1378 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1396 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1452 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1454 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1455 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1462 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1473 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1475 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1476 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1501 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1570 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1572 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1573 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1580 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1590 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1592 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1593 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1604 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::… in compare()
1612 m_failMsg << "Expected [" << compNdx << "] < 1.0"; in compare()