Lines Matching refs:compNdx
288 for (int compNdx = 0; compNdx < numComponents; compNdx++) in operator <<() local
290 if (compNdx != 0) in operator <<()
295 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<()
296 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<()
297 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
298 case glu::TYPE_BOOL: str << HexBool(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
430 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
432 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
433 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
439 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
446 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
448 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
449 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
454 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
523 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
525 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
526 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
533 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
540 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
542 const int in0 = ((const int*)inputs[0])[compNdx]; in compare()
543 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
549 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
629 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
631 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
632 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
639 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
650 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
652 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
653 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
671 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
719 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
721 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
722 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
723 const float out1 = ((const float*)outputs[1])[compNdx]; in compare()
737 …m_failMsg << "Expected [" << compNdx << "] = (" << HexFloat(refOut0) << ") + (" << HexFloat(refOut… in compare()
796 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
798 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
799 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
804 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref); in compare()
812 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
814 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
818 m_failMsg << "Expected [" << compNdx << "] = 0 / 1"; in compare()
877 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
879 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
880 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
885 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref); in compare()
893 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
895 const int out0 = ((const int*)outputs[0])[compNdx]; in compare()
899 m_failMsg << "Expected [" << compNdx << "] = 0 / 1"; in compare()
950 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
952 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
953 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
959 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(refOut0) << " with threshold " in compare()
1019 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1021 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1022 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1027 …m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(tcu::Float32(in0).bits()) << " with U… in compare()
1081 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1083 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1084 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1091 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1102 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1104 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1105 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1123 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1187 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1189 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1190 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1199 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1210 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1212 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1213 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1231 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1299 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1301 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1302 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1314 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " or " << HexFloat(ref1) << ",… in compare()
1326 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1338 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1340 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1341 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1359 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1415 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1417 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1418 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1425 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1436 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1438 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1439 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1464 …m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP thresho… in compare()
1533 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1535 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1536 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1543 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex… in compare()
1553 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1555 const float in0 = ((const float*)inputs[0])[compNdx]; in compare()
1556 const float out0 = ((const float*)outputs[0])[compNdx]; in compare()
1567 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::… in compare()
1575 m_failMsg << "Expected [" << compNdx << "] < 1.0"; in compare()