Home | History | Annotate | Download | only in functional

Lines Matching refs:compNdx

88 	for (int compNdx = 0; compNdx < numComponents; compNdx++)
90 if (compNdx != 0)
95 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break;
96 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break;
97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break;
98 case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); break;
147 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask;
153 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
154 dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength);
399 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
401 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask;
402 in1[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y & integerMask;
411 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
413 in0[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in0[easyCaseNdx*scalarSize + compNdx], integerLength);
414 in1[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in1[easyCaseNdx*scalarSize + compNdx], integerLength);
431 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
433 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx];
434 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx];
435 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx];
436 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx];
442 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1);
493 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
495 in0[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x & integerMask;
496 in1[easyCaseNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y & integerMask;
505 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
507 in0[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in0[easyCaseNdx*scalarSize + compNdx], integerLength);
508 in1[easyCaseNdx*scalarSize + compNdx] = extendSignTo32(in1[easyCaseNdx*scalarSize + compNdx], integerLength);
525 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
527 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx];
528 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx];
529 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx];
530 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx];
536 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1);
584 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
586 in0[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x;
587 in1[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y;
595 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
601 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0;
602 in1[valueNdx*scalarSize + compNdx] = base1 >> adj1;
614 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
616 const deUint32 in0 = ((const deUint32*)inputs[0])[compNdx];
617 const deUint32 in1 = ((const deUint32*)inputs[1])[compNdx];
618 const deUint32 out0 = ((const deUint32*)outputs[0])[compNdx];
619 const deUint32 out1 = ((const deUint32*)outputs[1])[compNdx];
626 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1);
675 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
677 in0[valueNdx*scalarSize + compNdx] = (deInt32)easyCases[easyCaseNdx].x;
678 in1[valueNdx*scalarSize + compNdx] = (deInt32)easyCases[easyCaseNdx].y;
686 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
692 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0;
693 in1[valueNdx*scalarSize + compNdx] = base1 >> adj1;
705 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
707 const deInt32 in0 = ((const deInt32*)inputs[0])[compNdx];
708 const deInt32 in1 = ((const deInt32*)inputs[1])[compNdx];
709 const deInt32 out0 = ((const deInt32*)outputs[0])[compNdx];
710 const deInt32 out1 = ((const deInt32*)outputs[1])[compNdx];
717 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1);
770 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
772 const deUint32 value = ((const deUint32*)inputs[0])[compNdx];
773 const deUint32 out = ((const deUint32*)outputs[0])[compNdx];
780 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref);
837 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
839 const deUint32 base = ((const deUint32*)inputs[0])[compNdx];
840 const deUint32 insert = ((const deUint32*)inputs[1])[compNdx];
841 const deInt32 out = ((const deUint32*)outputs[0])[compNdx];
848 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref);
895 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
897 const deUint32 value = ((const deUint32*)inputs[0])[compNdx];
898 const deInt32 out = ((const deUint32*)outputs[0])[compNdx];
903 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref);
944 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
946 const deUint32 value = ((const deUint32*)inputs[0])[compNdx];
947 const int out = ((const int*)outputs[0])[compNdx];
953 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]";
1004 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1006 const deUint32 value = ((const deUint32*)inputs[0])[compNdx];
1007 const int out = ((const int*)outputs[0])[compNdx];
1013 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]";
1082 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1084 const deUint32 value = ((const deUint32*)inputs[0])[compNdx];
1085 const int out = ((const deInt32*)outputs[0])[compNdx];
1091 m_failMsg << "Expected [" << compNdx << "] in range [" << minRef << ", " << maxRef << "]";