Lines Matching defs:scalarSize

246 		const int		scalarSize		= var.varType.getScalarSize();
250 curScalarOffset += scalarSize*numValues;
448 const int scalarSize = glu::getDataTypeScalarSize(type);
451 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize);
453 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize);
460 const int scalarSize = glu::getDataTypeScalarSize(type);
467 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
483 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
530 const int scalarSize = glu::getDataTypeScalarSize(type);
535 std::fill((float*)values[0], (float*)values[0] + scalarSize, +1.0f);
536 std::fill((float*)values[0] + scalarSize*1, (float*)values[0] + scalarSize*2, -1.0f);
537 std::fill((float*)values[0] + scalarSize*2, (float*)values[0] + scalarSize*3, 0.0f);
538 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), (float*)values[0] + scalarSize*3, (numValues-3)*scalarSize);
542 std::fill((int*)values[0], (int*)values[0] + scalarSize, +1);
543 std::fill((int*)values[0] + scalarSize*1, (int*)values[0] + scalarSize*2, -1);
544 std::fill((int*)values[0] + scalarSize*2, (int*)values[0] + scalarSize*3, 0);
545 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), (int*)values[0] + scalarSize*3, (numValues-3)*scalarSize);
553 const int scalarSize = glu::getDataTypeScalarSize(type);
560 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
577 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
630 const int scalarSize = glu::getDataTypeScalarSize(type);
640 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
646 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
651 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
661 const int scalarSize = glu::getDataTypeScalarSize(type);
666 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
687 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
742 const int scalarSize = glu::getDataTypeScalarSize(type);
744 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), values[0], numValues*scalarSize);
752 const int scalarSize = glu::getDataTypeScalarSize(type);
756 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
805 const int scalarSize = glu::getDataTypeScalarSize(type);
809 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++)
828 const int scalarSize = glu::getDataTypeScalarSize(type);
833 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
849 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
886 const int scalarSize = glu::getDataTypeScalarSize(type);
890 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++)
909 const int scalarSize = glu::getDataTypeScalarSize(type);
914 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
930 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
973 const int scalarSize = glu::getDataTypeScalarSize(type);
975 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), values[0], numValues*scalarSize);
982 const int scalarSize = glu::getDataTypeScalarSize(type);
987 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1043 const int scalarSize = glu::getDataTypeScalarSize(type);
1047 fillRandomScalars(rnd, range.x(), range.y(), values[0], numValues*scalarSize);
1053 const int scalarSize = glu::getDataTypeScalarSize(type);
1056 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1097 const int scalarSize = glu::getDataTypeScalarSize(type);
1099 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0], numValues*scalarSize);
1104 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1113 const int scalarSize = glu::getDataTypeScalarSize(type);
1118 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1139 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1193 const int scalarSize = glu::getDataTypeScalarSize(type);
1200 for (int scalarNdx = 0; scalarNdx < scalarSize; scalarNdx++)
1201 ((float*)values[0])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx];
1205 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + scalarSize*numSpecialCases, (numValues-numSpecialCases)*scalarSize);
1210 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1219 const int scalarSize = glu::getDataTypeScalarSize(type);
1224 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1247 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1301 const int scalarSize = glu::getDataTypeScalarSize(type);
1311 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
1317 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
1322 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1332 const int scalarSize = glu::getDataTypeScalarSize(type);
1336 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1375 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1429 const int scalarSize = glu::getDataTypeScalarSize(type);
1432 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0], numValues*scalarSize);
1437 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1447 const int scalarSize = glu::getDataTypeScalarSize(type);
1452 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1473 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1534 const int scalarSize = glu::getDataTypeScalarSize(type);
1544 std::fill((float*)values[0], (float*)values[0] + scalarSize, v);
1550 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[0] + numSpecialCases*scalarSize, (numValues-numSpecialCases)*scalarSize);
1555 for (int ndx = 0; ndx < numValues*scalarSize; ndx++)
1565 const int scalarSize = glu::getDataTypeScalarSize(type);
1570 for (int compNdx = 0; compNdx < scalarSize; compNdx++)
1590 for (int compNdx = 0; compNdx < scalarSize; compNdx++)