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()
399 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
401 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask; in getInputValues()
402 in1[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y & integerMask; in getInputValues()
411 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
413 …in0[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in0[easyCaseNdx*scalarSize + compNdx], inte… in getInputValues()
414 …in1[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in1[easyCaseNdx*scalarSize + compNdx], inte… in getInputValues()
431 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
433 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
434 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
435 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
436 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
442 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
493 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
495 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask; in getInputValues()
496 in1[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y & integerMask; in getInputValues()
505 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
507 …in0[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in0[easyCaseNdx*scalarSize + compNdx], inte… in getInputValues()
508 …in1[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in1[easyCaseNdx*scalarSize + compNdx], inte… in getInputValues()
525 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
527 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
528 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
529 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
530 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
536 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
584 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
586 in0[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x; in getInputValues()
587 in1[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y; in getInputValues()
595 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
601 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0; in getInputValues()
602 in1[valueNdx*scalarSize + compNdx] = base1 >> adj1; in getInputValues()
614 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
616 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx]; in compare()
617 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx]; in compare()
618 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx]; in compare()
619 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx]; in compare()
626 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
675 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
677 in0[valueNdx*scalarSize + compNdx] = (deInt32)easyCases[easyCaseNdx].x; in getInputValues()
678 in1[valueNdx*scalarSize + compNdx] = (deInt32)easyCases[easyCaseNdx].y; in getInputValues()
686 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in getInputValues() local
692 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0; in getInputValues()
693 in1[valueNdx*scalarSize + compNdx] = base1 >> adj1; in getInputValues()
705 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
707 const deInt32 in0 = ((const deInt32*)inputs[0])[compNdx]; in compare()
708 const deInt32 in1 = ((const deInt32*)inputs[1])[compNdx]; in compare()
709 const deInt32 out0 = ((const deInt32*)outputs[0])[compNdx]; in compare()
710 const deInt32 out1 = ((const deInt32*)outputs[1])[compNdx]; in compare()
717 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
770 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
772 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
773 const deUint32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
780 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref); in compare()
837 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
839 const deUint32 base = ((const deUint32*)inputs[0])[compNdx]; in compare()
840 const deUint32 insert = ((const deUint32*)inputs[1])[compNdx]; in compare()
841 const deInt32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
848 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref); in compare()
895 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
897 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
898 const deInt32 out = ((const deUint32*)outputs[0])[compNdx]; in compare()
903 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref); in compare()
944 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
946 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
947 const int out = ((const int*)outputs[0])[compNdx]; in compare()
953 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]"; in compare()
1004 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1006 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
1007 const int out = ((const int*)outputs[0])[compNdx]; in compare()
1013 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]"; in compare()
1082 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local
1084 const deUint32 value = ((const deUint32*)inputs[0])[compNdx]; in compare()
1085 const int out = ((const deInt32*)outputs[0])[compNdx]; in compare()
1091 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]"; in compare()