• Home
  • Raw
  • Download

Lines Matching refs:compNdx

88 	for (int compNdx = 0; compNdx < numComponents; compNdx++)  in operator <<()  local
90 if (compNdx != 0) in operator <<()
95 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<()
96 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<()
97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<()
98 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<()
147 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() local
148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData()
153 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() local
154 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData()
371 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
373 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask; in getInputValues()
374 in1[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y & integerMask; in getInputValues()
383 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
385 …in0[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in0[easyCaseNdx*scalarSize + compNdx], inte… in getInputValues()
386 …in1[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in1[easyCaseNdx*scalarSize + compNdx], inte… in getInputValues()
403 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
405 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
406 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
407 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
408 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
414 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
465 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
467 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask; in getInputValues()
468 in1[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y & integerMask; in getInputValues()
477 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
479 …in0[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in0[easyCaseNdx*scalarSize + compNdx], inte… in getInputValues()
480 …in1[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in1[easyCaseNdx*scalarSize + compNdx], inte… in getInputValues()
497 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
499 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
500 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
501 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
502 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
508 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
556 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
558 in0[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x; in getInputValues()
559 in1[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y; in getInputValues()
567 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
573 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0; in getInputValues()
574 in1[valueNdx*scalarSize + compNdx] = base1 >> adj1; in getInputValues()
586 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
588 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
589 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
590 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
591 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
598 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
647 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
649 in0[valueNdx*scalarSize + compNdx] = (deInt32)easyCases[easyCaseNdx].x; in getInputValues()
650 in1[valueNdx*scalarSize + compNdx] = (deInt32)easyCases[easyCaseNdx].y; in getInputValues()
658 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
664 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0; in getInputValues()
665 in1[valueNdx*scalarSize + compNdx] = base1 >> adj1; in getInputValues()
677 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
679 const deInt32 in0 = ((const deInt32*)inputs[0])[compNdx]; in compare()
680 const deInt32 in1 = ((const deInt32*)inputs[1])[compNdx]; in compare()
681 const deInt32 out0 = ((const deInt32*)outputs[0])[compNdx]; in compare()
682 const deInt32 out1 = ((const deInt32*)outputs[1])[compNdx]; in compare()
689 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
742 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
744 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
745 const deUint32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
752 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref); in compare()
809 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
811 const deUint32 base = ((const deUint32*)inputs[0])[compNdx]; in compare()
812 const deUint32 insert = ((const deUint32*)inputs[1])[compNdx]; in compare()
813 const deInt32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
820 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref); in compare()
867 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
869 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
870 const deInt32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
875 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref); in compare()
916 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
918 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
919 const int out = ((const int*)outputs[0])[compNdx]; in compare()
925 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]"; in compare()
976 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
978 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
979 const int out = ((const int*)outputs[0])[compNdx]; in compare()
985 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]"; in compare()
1054 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1056 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
1057 const int out = ((const deInt32*)outputs[0])[compNdx]; in compare()
1063 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]"; in compare()