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