Home | History | Annotate | Download | only in functional

Lines Matching refs:scalarSize

320 		const int		scalarSize		= var.varType.getScalarSize();
324 curScalarOffset += scalarSize*numValues;
526 const int scalarSize = glu::getDataTypeScalarSize(type);
529 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize);
531 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize);
538 const int scalarSize = glu::getDataTypeScalarSize(type);
545 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
561 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
608 const int scalarSize = glu::getDataTypeScalarSize(type);
613 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f);
614 std::fill((float*)values[0] + scalarSize*1, (float*)values[0] + scalarSize*2, -1.0f);
615 std::fill((float*)values[0] + scalarSize*2, (float*)values[0] + scalarSize*3, 0.0f);
616 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), (float*)values[0] + scalarSize*3, (numValues-3)*scalarSize);
620 std::fill((int*)values[0], (int*)values[0] + scalarSize, +1);
621 std::fill((int*)values[0] + scalarSize*1, (int*)values[0] + scalarSize*2, -1);
622 std::fill((int*)values[0] + scalarSize*2, (int*)values[0] + scalarSize*3, 0);
623 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), (int*)values[0] + scalarSize*3, (numValues-3)*scalarSize);
631 const int scalarSize = glu::getDataTypeScalarSize(type);
638 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
655 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
708 const int scalarSize = glu::getDataTypeScalarSize(type);
718 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
724 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
729 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
739 const int scalarSize = glu::getDataTypeScalarSize(type);
744 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
765 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
820 const int scalarSize = glu::getDataTypeScalarSize(type);
822 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), values[0], numValues*scalarSize);
830 const int scalarSize = glu::getDataTypeScalarSize(type);
834 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
883 const int scalarSize = glu::getDataTypeScalarSize(type);
887 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++)
906 const int scalarSize = glu::getDataTypeScalarSize(type);
911 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
927 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
966 const int scalarSize = glu::getDataTypeScalarSize(type);
970 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++)
989 const int scalarSize = glu::getDataTypeScalarSize(type);
994 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1010 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1056 const int scalarSize = glu::getDataTypeScalarSize(type);
1058 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), values[0], numValues*scalarSize);
1065 const int scalarSize = glu::getDataTypeScalarSize(type);
1070 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1126 const int scalarSize = glu::getDataTypeScalarSize(type);
1130 fillRandomScalars(rnd, range.x(), range.y(), values[0], numValues*scalarSize);
1136 const int scalarSize = glu::getDataTypeScalarSize(type);
1139 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1180 const int scalarSize = glu::getDataTypeScalarSize(type);
1182 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0], numValues*scalarSize);
1187 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1196 const int scalarSize = glu::getDataTypeScalarSize(type);
1201 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1222 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1276 const int scalarSize = glu::getDataTypeScalarSize(type);
1283 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
1284 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx];
1288 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + scalarSize*numSpecialCases, (numValues-numSpecialCases)*scalarSize);
1293 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1302 const int scalarSize = glu::getDataTypeScalarSize(type);
1307 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1330 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1384 const int scalarSize = glu::getDataTypeScalarSize(type);
1394 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
1400 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
1405 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1415 const int scalarSize = glu::getDataTypeScalarSize(type);
1419 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1458 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1512 const int scalarSize = glu::getDataTypeScalarSize(type);
1515 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0], numValues*scalarSize);
1520 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1530 const int scalarSize = glu::getDataTypeScalarSize(type);
1535 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1556 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1617 const int scalarSize = glu::getDataTypeScalarSize(type);
1627 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
1633 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
1638 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1648 const int scalarSize = glu::getDataTypeScalarSize(type);
1653 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1673 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1764 const int scalarSize = glu::getDataTypeScalarSize(type);
1767 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1769 ((float*)values[0])[scalarSize*0 + compNdx] = 0.0f;
1770 ((float*)values[0])[scalarSize*1 + compNdx] = -0.0f;
1771 ((float*)values[0])[scalarSize*2 + compNdx] = 0.5f;
1772 ((float*)values[0])[scalarSize*3 + compNdx] = -0.5f;
1773 ((float*)values[0])[scalarSize*4 + compNdx] = 1.0f;
1774 ((float*)values[0])[scalarSize*5 + compNdx] = -1.0f;
1775 ((float*)values[0])[scalarSize*6 + compNdx] = 2.0f;
1776 ((float*)values[0])[scalarSize*7 + compNdx] = -2.0f;
1779 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + 8*scalarSize, (numValues-8)*scalarSize);
1784 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
1786 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx];
1797 const int scalarSize = glu::getDataTypeScalarSize(type);
1803 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1855 const int scalarSize = glu::getDataTypeScalarSize(type);
1869 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1871 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0;
1872 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1;
1886 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1894 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0;
1895 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1;
1908 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1924 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0;
1925 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1;
1937 const int scalarSize = glu::getDataTypeScalarSize(type);
1942 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1998 const int scalarSize = glu::getDataTypeScalarSize(type);
2020 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
2021 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx];
2027 const int numScalars = (numValues-numSpecialCases)*scalarSize;
2028 const int offs = scalarSize*numSpecialCases;
2039 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
2041 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx];
2087 const int scalarSize = glu::getDataTypeScalarSize(type);
2089 for (int compNdx = 0; compNdx < scalarSize; compNdx++)