• Home
  • Raw
  • Download

Lines Matching refs:checks

776 	std::stringstream decls, checks;  in initPrograms()  local
916 checks << " int inboundcoords, clampedLayer;\n"; in initPrograms()
917 checks << " " << vecType << " expectedIB2;\n"; in initPrograms()
921 checks << " [[unroll]] for (int c = 0; c <= 10; ++c) {\n"; in initPrograms()
923 checks << " [[unroll]] for (int c = -10; c <= 10; ++c) {\n"; in initPrograms()
928 checks << " [[dont_unroll]] for (int c = 1023; c >= 0; --c) {\n"; in initPrograms()
930 checks << " [[dont_unroll]] for (int c = 1050; c >= -1050; --c) {\n"; in initPrograms()
934checks << " int idx = smod(gl_VertexIndex * " << numComponents << ", " << refDataNumElements <<… in initPrograms()
936 checks << " int idx = smod(c * " << numComponents << ", " << refDataNumElements << ");\n"; in initPrograms()
1056 checks << " expectedIB = zzzz;\n"; in initPrograms()
1057 checks << " inboundcoords = 0;\n"; in initPrograms()
1058 checks << " int paddedinboundcoords = 0;\n"; in initPrograms()
1065 checks << " expectedIB.x = refData[" << idx << "];\n"; in initPrograms()
1068 checks << " expectedIB.y = refData[" << idx << "+1];\n"; in initPrograms()
1072 checks << " expectedIB.y = 0;\n"; in initPrograms()
1076 checks << " expectedIB.z = refData[" << idx << "+2];\n"; in initPrograms()
1077 checks << " expectedIB.w = refData[" << idx << "+3];\n"; in initPrograms()
1081 checks << " expectedIB.z = 0;\n"; in initPrograms()
1082 checks << " expectedIB.w = " << defaultw << ";\n"; in initPrograms()
1092 checks << " int paddedinboundcoords = " << refDataNumElements / numComponents << ";\n"; in initPrograms()
1099checks << " inboundcoords = " << layout.refData.size() / (formatIsR64(format) ? sizeof(deUint64… in initPrograms()
1119 checks << " inboundcoords = " << coordDim << ";\n"; in initPrograms()
1126checks << " if (c < 0 || c >= " << inboundcoords << ") " << genStore(m_data.descriptorType, vec… in initPrograms()
1130checks << " if (c < 0 || c >= " << inboundcoords << ") " << genAtomic(m_data.descriptorType, bu… in initPrograms()
1147 checks << " inboundcoords = " << coordDim << ";\n"; in initPrograms()
1158 checks << " temp.x = attr;\n"; in initPrograms()
1159 checks << " temp.y = 0l;\n"; in initPrograms()
1160 checks << " temp.z = 0l;\n"; in initPrograms()
1161 checks << " temp.w = 0l;\n"; in initPrograms()
1162checks << " if (gl_VertexIndex >= 0 && gl_VertexIndex < inboundcoords) temp.x -= expectedIB.x; … in initPrograms()
1166 checks << " temp = " << genFetch(m_data, numComponents, vecType, coord, "0") << ";\n"; in initPrograms()
1167checks << " if (gl_VertexIndex >= 0 && gl_VertexIndex < inboundcoords) temp -= expectedIB; else… in initPrograms()
1170 checks << " accum += abs(temp);\n"; in initPrograms()
1177 checks << " temp = " << genFetch(m_data, numComponents, vecType, coord, "0") << ";\n"; in initPrograms()
1179 checks << " expectedIB2 = expectedIB;\n"; in initPrograms()
1183checks << " if (c >= 0 && c < inboundcoords) expectedIB2 += " << vecType << "(c, 0, 0, 0);\n"; in initPrograms()
1189 checks << " if (temp == zzzz) temp = " << vecType << "(0);\n"; in initPrograms()
1191 checks << " else if (temp == zzzo) temp = " << vecType << "(0);\n"; in initPrograms()
1192 checks << " else temp = " << vecType << "(1);\n"; in initPrograms()
1196checks << " if (c >= 0 && c < " << m_data.samples << ") temp -= expectedIB2; else temp = " << v… in initPrograms()
1233 checks << " if (c >= 0 && c < inboundcoords) {\n" in initPrograms()
1239 checks << " else if (temp == " << expectedOOB << ") temp = " << vecType << "(0);\n"; in initPrograms()
1242 checks << " else if (temp == zzzz || temp == zzzo) temp = " << vecType << "(0);\n"; in initPrograms()
1247checks << " else if (c >= 0 && c < paddedinboundcoords && temp == expectedIB2) temp = " << vecT… in initPrograms()
1254 checks << " else if (temp == zzzo) temp = " << vecType << "(0);\n"; in initPrograms()
1258checks << " else if (temp == " << getStoreValue(m_data.descriptorType, numComponents, vecType, … in initPrograms()
1262checks << " else if (c == inboundcoords && temp == " << expectedOOB2 << ") temp = " << vecType … in initPrograms()
1264checks << " else if (c == inboundcoords && temp == " << expectedOOB3 << ") temp = " << vecType … in initPrograms()
1267 checks << " else temp = " << vecType << "(1);\n"; in initPrograms()
1270 checks << " accum += abs(temp);\n"; in initPrograms()
1277checks << " if (c != 0) temp = " << genFetch(m_data, numComponents, vecType, coord0, "c") << ";… in initPrograms()
1278 checks << " if (c != 0) temp -= " << expectedOOB << ";\n"; in initPrograms()
1279 checks << " accum += abs(temp);\n"; in initPrograms()
1287 checks << " expectedIB2 = expectedIB;\n"; in initPrograms()
1292 checks << " clampedLayer = clamp(c, 0, " << coordDim-1 << ");\n"; in initPrograms()
1293 checks << " expectedIB2 += " << vecType << "(clampedLayer, 0, 0, 0);\n"; in initPrograms()
1314 checks << " temp = texture(texture0_1, " << coordNorm << ");\n"; in initPrograms()
1315 checks << normexpected.str(); in initPrograms()
1316 checks << " accum += abs(temp);\n"; in initPrograms()
1317 checks << " temp = textureLod(texture0_1, " << coordNorm << ", 0.0f);\n"; in initPrograms()
1318 checks << normexpected.str(); in initPrograms()
1319 checks << " accum += abs(temp);\n"; in initPrograms()
1320checks << " temp = textureGrad(texture0_1, " << coordNorm << ", " << genCoord("1.0", numNormali… in initPrograms()
1321 checks << normexpected.str(); in initPrograms()
1322 checks << " accum += abs(temp);\n"; in initPrograms()
1342 checks << " temp = textureSize(texture0_1, 0)" << sizeswiz <<";\n"; in initPrograms()
1343 checks << " accum += abs(temp);\n"; in initPrograms()
1346 checks << " temp = textureSize(texture0_1, " << -i << ")" << sizeswiz <<";\n"; in initPrograms()
1347 checks << " accum += abs(temp);\n"; in initPrograms()
1348checks << " temp = textureSize(texture0_1, " << (std::numeric_limits<deInt32>::max() - i) << ")… in initPrograms()
1349 checks << " accum += abs(temp);\n"; in initPrograms()
1353 checks << " temp = textureSize(texture0_1)" << sizeswiz <<";\n"; in initPrograms()
1354 checks << " accum += abs(temp);\n"; in initPrograms()
1355 checks << " temp = textureSamples(texture0_1).xxxx;\n"; in initPrograms()
1356 checks << " accum += abs(temp);\n"; in initPrograms()
1363 checks << " temp = imageSize(image0_1)" << sizeswiz <<";\n"; in initPrograms()
1364 checks << " accum += abs(temp);\n"; in initPrograms()
1368 checks << " temp = imageSize(image0_1)" << sizeswiz <<";\n"; in initPrograms()
1369 checks << " accum += abs(temp);\n"; in initPrograms()
1370 checks << " temp = imageSamples(image0_1).xxxx;\n"; in initPrograms()
1371 checks << " accum += abs(temp);\n"; in initPrograms()
1378 checks << " temp = " << vecType << "(ssbo0_1.val.length());\n"; in initPrograms()
1379 checks << " accum += abs(temp);\n"; in initPrograms()
1380 checks << " temp = " << vecType << "(ssbo0_1_pad.val.length());\n"; in initPrograms()
1381 checks << " accum += abs(temp);\n"; in initPrograms()
1385 checks << " }\n"; in initPrograms()
1392 checks << " temp_ql = " << qLevelType << "(textureQueryLevels(texture0_1));\n"; in initPrograms()
1393 checks << " temp = " << vecType << "(temp_ql);\n"; in initPrograms()
1394 checks << " accum += abs(temp);\n"; in initPrograms()
1424 << checks.str() << in initPrograms()
1451 << checks.str() << in initPrograms()
1477 << checks.str() << in initPrograms()
1499 checks << " vec2 lod = textureQueryLod(texture0_1, gl_FragCoord.x" << lod_str << "\n"; in initPrograms()
1500 checks << " temp_ql = " << qLevelType << in initPrograms()
1502 checks << " temp = " << vecType << "(temp_ql);\n"; in initPrograms()
1503 checks << " accum += abs(temp);\n"; in initPrograms()
1533 << checks.str() << in initPrograms()