Home | History | Annotate | Download | only in functional

Lines Matching refs:scalarSize

319 		const int		scalarSize		= var.varType.getScalarSize();
323 curScalarOffset += scalarSize*numValues;
525 const int scalarSize = glu::getDataTypeScalarSize(type);
528 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize);
530 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize);
537 const int scalarSize = glu::getDataTypeScalarSize(type);
544 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
560 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
607 const int scalarSize = glu::getDataTypeScalarSize(type);
612 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f);
613 std::fill((float*)values[0], (float*)values[0] + scalarSize, -1.0f);
614 std::fill((float*)values[0], (float*)values[0] + scalarSize, 0.0f);
615 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), (float*)values[0] + scalarSize*3, (numValues-3)*scalarSize);
619 std::fill((int*)values[0], (int*)values[0] + scalarSize, +1);
620 std::fill((int*)values[0], (int*)values[0] + scalarSize, -1);
621 std::fill((int*)values[0], (int*)values[0] + scalarSize, 0);
622 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), (int*)values[0] + scalarSize*3, (numValues-3)*scalarSize);
630 const int scalarSize = glu::getDataTypeScalarSize(type);
637 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
654 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
707 const int scalarSize = glu::getDataTypeScalarSize(type);
717 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
723 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
728 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
738 const int scalarSize = glu::getDataTypeScalarSize(type);
743 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
764 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
819 const int scalarSize = glu::getDataTypeScalarSize(type);
821 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), values[0], numValues*scalarSize);
829 const int scalarSize = glu::getDataTypeScalarSize(type);
833 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
882 const int scalarSize = glu::getDataTypeScalarSize(type);
886 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++)
905 const int scalarSize = glu::getDataTypeScalarSize(type);
910 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
926 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
965 const int scalarSize
969 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++)
988 const int scalarSize = glu::getDataTypeScalarSize(type);
993 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1009 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1055 const int scalarSize = glu::getDataTypeScalarSize(type);
1057 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), values[0], numValues*scalarSize);
1064 const int scalarSize = glu::getDataTypeScalarSize(type);
1069 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1125 const int scalarSize = glu::getDataTypeScalarSize(type);
1129 fillRandomScalars(rnd, range.x(), range.y(), values[0], numValues*scalarSize);
1135 const int scalarSize = glu::getDataTypeScalarSize(type);
1138 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1179 const int scalarSize = glu::getDataTypeScalarSize(type);
1181 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0], numValues*scalarSize);
1186 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1195 const int scalarSize = glu::getDataTypeScalarSize(type);
1200 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1221 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1275 const int scalarSize = glu::getDataTypeScalarSize(type);
1282 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
1283 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx];
1287 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + scalarSize*numSpecialCases, (numValues-numSpecialCases)*scalarSize);
1292 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1301 const int scalarSize = glu::getDataTypeScalarSize(type);
1306 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1329 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1383 const int scalarSize = glu::getDataTypeScalarSize(type);
1393 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
1399 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
1404 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1414 const int scalarSize
1418 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1457 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1511 const int scalarSize = glu::getDataTypeScalarSize(type);
1514 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0], numValues*scalarSize);
1519 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1529 const int scalarSize = glu::getDataTypeScalarSize(type);
1534 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1555 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1616 const int scalarSize = glu::getDataTypeScalarSize(type);
1626 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
1632 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
1637 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1647 const int scalarSize = glu::getDataTypeScalarSize(type);
1652 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1672 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1763 const int scalarSize = glu::getDataTypeScalarSize(type);
1766 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1768 ((float*)values[0])[scalarSize*0 + compNdx] = 0.0f;
1769 ((float*)values[0])[scalarSize*1 + compNdx] = -0.0f;
1770 ((float*)values[0])[scalarSize*2 + compNdx] = 0.5f;
1771 ((float*)values[0])[scalarSize*3 + compNdx] = -0.5f;
1772 ((float*)values[0])[scalarSize*4 + compNdx] = 1.0f;
1773 ((float*)values[0])[scalarSize*5 + compNdx] = -1.0f;
1774 ((float*)values[0])[scalarSize*6 + compNdx] = 2.0f;
1775 ((float*)values[0])[scalarSize*7 + compNdx] = -2.0f;
1778 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + 8*scalarSize, (numValues-8)*scalarSize);
1783 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
1785 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx];
1796 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 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++)