Lines Matching refs:checks
998 std::stringstream decls, checks; in initPrograms() local
1138 checks << " int inboundcoords, clampedLayer;\n"; in initPrograms()
1139 checks << " " << vecType << " expectedIB2;\n"; in initPrograms()
1143 checks << " [[unroll]] for (int c = 0; c <= 10; ++c) {\n"; in initPrograms()
1145 checks << " [[unroll]] for (int c = -10; c <= 10; ++c) {\n"; in initPrograms()
1150 checks << " [[dont_unroll]] for (int c = 1023; c >= 0; --c) {\n"; in initPrograms()
1152 checks << " [[dont_unroll]] for (int c = 1050; c >= -1050; --c) {\n"; in initPrograms()
1156 …checks << " int idx = smod(gl_VertexIndex * " << numComponents << ", " << refDataNumElements <<… in initPrograms()
1158 checks << " int idx = smod(c * " << numComponents << ", " << refDataNumElements << ");\n"; in initPrograms()
1278 checks << " expectedIB = zzzz;\n"; in initPrograms()
1279 checks << " inboundcoords = 0;\n"; in initPrograms()
1280 checks << " int paddedinboundcoords = 0;\n"; in initPrograms()
1287 checks << " expectedIB.x = refData[" << idx << "];\n"; in initPrograms()
1290 checks << " expectedIB.y = refData[" << idx << "+1];\n"; in initPrograms()
1294 checks << " expectedIB.y = 0;\n"; in initPrograms()
1298 checks << " expectedIB.z = refData[" << idx << "+2];\n"; in initPrograms()
1299 checks << " expectedIB.w = refData[" << idx << "+3];\n"; in initPrograms()
1303 checks << " expectedIB.z = 0;\n"; in initPrograms()
1304 checks << " expectedIB.w = " << defaultw << ";\n"; in initPrograms()
1314 checks << " int paddedinboundcoords = " << refDataNumElements / numComponents << ";\n"; in initPrograms()
1321 …checks << " inboundcoords = " << layout.refData.size() / (formatIsR64(format) ? sizeof(deUint64… in initPrograms()
1341 checks << " inboundcoords = " << coordDim << ";\n"; in initPrograms()
1348 …checks << " if (c < 0 || c >= " << inboundcoords << ") " << genStore(m_data.descriptorType, vec… in initPrograms()
1352 …checks << " if (c < 0 || c >= " << inboundcoords << ") " << genAtomic(m_data.descriptorType, bu… in initPrograms()
1369 checks << " inboundcoords = " << coordDim << ";\n"; in initPrograms()
1380 checks << " temp.x = attr;\n"; in initPrograms()
1381 checks << " temp.y = 0l;\n"; in initPrograms()
1382 checks << " temp.z = 0l;\n"; in initPrograms()
1383 checks << " temp.w = 0l;\n"; in initPrograms()
1384 …checks << " if (gl_VertexIndex >= 0 && gl_VertexIndex < inboundcoords) temp.x -= expectedIB.x; … in initPrograms()
1388 checks << " temp = " << genFetch(m_data, numComponents, vecType, coord, "0") << ";\n"; in initPrograms()
1389 …checks << " if (gl_VertexIndex >= 0 && gl_VertexIndex < inboundcoords) temp -= expectedIB; else… in initPrograms()
1392 checks << " accum += abs(temp);\n"; in initPrograms()
1399 checks << " temp = " << genFetch(m_data, numComponents, vecType, coord, "0") << ";\n"; in initPrograms()
1401 checks << " expectedIB2 = expectedIB;\n"; in initPrograms()
1405 … checks << " if (c >= 0 && c < inboundcoords) expectedIB2 += " << vecType << "(c, 0, 0, 0);\n"; in initPrograms()
1411 checks << " if (temp == zzzz) temp = " << vecType << "(0);\n"; in initPrograms()
1413 checks << " else if (temp == zzzo) temp = " << vecType << "(0);\n"; in initPrograms()
1414 checks << " else temp = " << vecType << "(1);\n"; in initPrograms()
1418 …checks << " if (c >= 0 && c < " << m_data.samples << ") temp -= expectedIB2; else temp = " << v… in initPrograms()
1455 checks << " if (c >= 0 && c < inboundcoords) {\n" in initPrograms()
1461 checks << " else if (temp == " << expectedOOB << ") temp = " << vecType << "(0);\n"; in initPrograms()
1464 checks << " else if (temp == zzzz || temp == zzzo) temp = " << vecType << "(0);\n"; in initPrograms()
1469 …checks << " else if (c >= 0 && c < paddedinboundcoords && temp == expectedIB2) temp = " << vecT… in initPrograms()
1476 checks << " else if (temp == zzzo) temp = " << vecType << "(0);\n"; in initPrograms()
1480 …checks << " else if (temp == " << getStoreValue(m_data.descriptorType, numComponents, vecType, … in initPrograms()
1484 …checks << " else if (c == inboundcoords && temp == " << expectedOOB2 << ") temp = " << vecType … in initPrograms()
1486 …checks << " else if (c == inboundcoords && temp == " << expectedOOB3 << ") temp = " << vecType … in initPrograms()
1489 checks << " else temp = " << vecType << "(1);\n"; in initPrograms()
1492 checks << " accum += abs(temp);\n"; in initPrograms()
1499 …checks << " if (c != 0) temp = " << genFetch(m_data, numComponents, vecType, coord0, "c") << ";… in initPrograms()
1500 checks << " if (c != 0) temp -= " << expectedOOB << ";\n"; in initPrograms()
1501 checks << " accum += abs(temp);\n"; in initPrograms()
1509 checks << " expectedIB2 = expectedIB;\n"; in initPrograms()
1514 checks << " clampedLayer = clamp(c, 0, " << coordDim-1 << ");\n"; in initPrograms()
1515 checks << " expectedIB2 += " << vecType << "(clampedLayer, 0, 0, 0);\n"; in initPrograms()
1536 checks << " temp = texture(texture0_1, " << coordNorm << ");\n"; in initPrograms()
1537 checks << normexpected.str(); in initPrograms()
1538 checks << " accum += abs(temp);\n"; in initPrograms()
1539 checks << " temp = textureLod(texture0_1, " << coordNorm << ", 0.0f);\n"; in initPrograms()
1540 checks << normexpected.str(); in initPrograms()
1541 checks << " accum += abs(temp);\n"; in initPrograms()
1542 …checks << " temp = textureGrad(texture0_1, " << coordNorm << ", " << genCoord("1.0", numNormali… in initPrograms()
1543 checks << normexpected.str(); in initPrograms()
1544 checks << " accum += abs(temp);\n"; in initPrograms()
1564 checks << " temp = textureSize(texture0_1, 0)" << sizeswiz <<";\n"; in initPrograms()
1565 checks << " accum += abs(temp);\n"; in initPrograms()
1568 checks << " temp = textureSize(texture0_1, " << -i << ")" << sizeswiz <<";\n"; in initPrograms()
1569 checks << " accum += abs(temp);\n"; in initPrograms()
1570 …checks << " temp = textureSize(texture0_1, " << (std::numeric_limits<deInt32>::max() - i) << ")… in initPrograms()
1571 checks << " accum += abs(temp);\n"; in initPrograms()
1575 checks << " temp = textureSize(texture0_1)" << sizeswiz <<";\n"; in initPrograms()
1576 checks << " accum += abs(temp);\n"; in initPrograms()
1577 checks << " temp = textureSamples(texture0_1).xxxx;\n"; in initPrograms()
1578 checks << " accum += abs(temp);\n"; in initPrograms()
1585 checks << " temp = imageSize(image0_1)" << sizeswiz <<";\n"; in initPrograms()
1586 checks << " accum += abs(temp);\n"; in initPrograms()
1590 checks << " temp = imageSize(image0_1)" << sizeswiz <<";\n"; in initPrograms()
1591 checks << " accum += abs(temp);\n"; in initPrograms()
1592 checks << " temp = imageSamples(image0_1).xxxx;\n"; in initPrograms()
1593 checks << " accum += abs(temp);\n"; in initPrograms()
1600 checks << " temp = " << vecType << "(ssbo0_1.val.length());\n"; in initPrograms()
1601 checks << " accum += abs(temp);\n"; in initPrograms()
1602 checks << " temp = " << vecType << "(ssbo0_1_pad.val.length());\n"; in initPrograms()
1603 checks << " accum += abs(temp);\n"; in initPrograms()
1607 checks << " }\n"; in initPrograms()
1614 checks << " temp_ql = " << qLevelType << "(textureQueryLevels(texture0_1));\n"; in initPrograms()
1615 checks << " temp = " << vecType << "(temp_ql);\n"; in initPrograms()
1616 checks << " accum += abs(temp);\n"; in initPrograms()
1625 checks << " vec2 lod = textureQueryLod(texture0_1, gl_FragCoord.x" << lod_str << "\n"; in initPrograms()
1626 checks << " temp_ql = " << qLevelType << "(ceil(abs(lod.x) + abs(lod.y)));\n"; in initPrograms()
1627 checks << " temp = " << vecType << "(temp_ql);\n"; in initPrograms()
1628 checks << " accum += abs(temp);\n"; in initPrograms()
1655 checks.str() + in initPrograms()