Home | History | Annotate | Download | only in functional

Lines Matching defs:compNdx

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