/external/deqp/framework/opengl/ |
H A D | gluTextureTestUtil.cpp | 415 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. local 416 float triX = triNdx ? 1.0f-xf : xf; 417 float triY = triNdx ? 1.0f-yf : yf; 419 float s = triangleInterpolate(triS[triNdx].x(), triS[triNdx].y(), triS[triNdx].z(), triX, triY); 420 float lod = triLod[triNdx]; 451 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. local 452 float triX = triNdx ? 1.0f-xf : xf; 453 float triY = triNdx 489 int triNdx = nx + ny >= 1.0f ? 1 : 0; local 532 int triNdx = nx + ny >= 1.0f ? 1 : 0; local 638 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local 694 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. local 742 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. local 789 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. local 834 int triNdx = nx + ny >= 1.0f ? 1 : 0; local 891 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local 937 const int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. local 1285 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local 1390 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local 1924 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local 2033 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local 2405 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local 2519 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local 2641 const int triNdx = nx + ny >= 1.0f ? 1 : 0; local [all...] |
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 83 int triNdx = nx + ny >= 1.0f ? 1 : 0; local 84 float triNx = triNdx ? 1.0f - nx : nx; 85 float triNy = triNdx ? 1.0f - ny : ny; 87 float r = projectedTriInterpolate(triR[triNdx], triW[triNdx], triNx, triNy) * scale[0] + bias[0]; 88 float g = projectedTriInterpolate(triG[triNdx], triW[triNdx], triNx, triNy) * scale[1] + bias[1]; 89 float b = projectedTriInterpolate(triB[triNdx], triW[triNdx], triNx, triNy) * scale[2] + bias[2];
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 85 int triNdx = nx + ny >= 1.0f ? 1 : 0; local 86 float triNx = triNdx ? 1.0f - nx : nx; 87 float triNy = triNdx ? 1.0f - ny : ny; 89 float r = projectedTriInterpolate(triR[triNdx], triW[triNdx], triNx, triNy) * scale[0] + bias[0]; 90 float g = projectedTriInterpolate(triG[triNdx], triW[triNdx], triNx, triNy) * scale[1] + bias[1]; 91 float b = projectedTriInterpolate(triB[triNdx], triW[triNdx], triNx, triNy) * scale[2] + bias[2];
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderInvarianceTests.cpp | 212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) 218 triangles[triNdx*3 + 0] = vertex1; 219 triangles[triNdx*3 + 1] = vertex2; 220 triangles[triNdx*3 + 2] = vertex3; 224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) 226 triangles[(numTriangles + triNdx)* [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderInvarianceTests.cpp | 212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) 218 triangles[triNdx*3 + 0] = vertex1; 219 triangles[triNdx*3 + 1] = vertex2; 220 triangles[triNdx*3 + 2] = vertex3; 224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) 226 triangles[(numTriangles + triNdx)* [all...] |
H A D | es3fShaderBuiltinVarTests.cpp | 829 const int triNdx = vtxNdx/3; local 830 const int quadNdx = triNdx/2; 837 if (triNdx%2 == 0)
|
H A D | es3fTransformFeedbackTests.cpp | 694 int triNdx = outNdx/3; local 696 return (triNdx%2 != 0 && vtxNdx < 2) ? (triNdx+1-vtxNdx) : (triNdx+vtxNdx);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fMultisampleTests.cpp | 494 for (int triNdx = 0; triNdx < numTriangles; triNdx++) 496 const float angle0 = 2.0f*DE_PI * (float)triNdx / (float)numTriangles; 497 const float angle1 = 2.0f*DE_PI * ((float)triNdx + 0.5f) / (float)numTriangles; 498 const Vec4 color = Vec4(0.4f + (float)triNdx/(float)numTriangles*0.6f, 499 0.5f + (float)triNdx/(float)numTriangles*0.3f, 500 0.6f - (float)triNdx/(float)numTriangles*0.5f, 501 0.7f - (float)triNdx/(float)numTriangles*0.7f); 510 const GLbitfield rawMask = (GLbitfield)deUint32Hash(wordNdx * 32 + triNdx); [all...] |
H A D | es31fTessellationTests.cpp | 1479 for (int triNdx = 0; triNdx < numTriangles; triNdx++) 1481 Triangle triangle(coords[3*triNdx + 0], 1482 coords[3*triNdx + 1], 1483 coords[3*triNdx + 2]);
|
/external/deqp/modules/egl/ |
H A D | teglRenderTests.cpp | 172 for (int triNdx = 0; triNdx < drawOp.count; triNdx++) 179 tcu::Vec4& position = drawOp.positions[triNdx*3 + coordNdx]; 180 tcu::Vec4& color = drawOp.colors[triNdx*3 + coordNdx]; 197 tcu::Vec4& p0 = drawOp.positions[triNdx*3 + 0]; 198 tcu::Vec4& p1 = drawOp.positions[triNdx*3 + 1]; 199 tcu::Vec4& p2 = drawOp.positions[triNdx*3 + 2];
|
/external/deqp/framework/common/ |
H A D | tcuRasterizationVerifier.cpp | 699 for (int triNdx = (int)scene.triangles.size() - 1; triNdx >= 0; --triNdx) 701 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0], 702 scene.triangles[triNdx].positions[1], 703 scene.triangles[triNdx].positions[2], 712 const InterpolationRange weights = interpolator.interpolate(triNdx, tcu::IVec2(x, y), viewportSize, multisampled, subPixelBits); 714 const tcu::Vec4 fragmentColorMax = de::clamp(weights.max.x(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[0] + 715 de::clamp(weights.max.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] + 716 de::clamp(weights.max.z(), 0.0f, 1.0f) * scene.triangles[triNdx] [all...] |
/external/deqp/modules/glshared/ |
H A D | glsLongStressCase.cpp | 1042 for (int triNdx = 0; triNdx < numVertices-2; triNdx++) 1044 float* const vtxAComps = &data[(triNdx+0)*numComponents]; 1045 float* const vtxBComps = &data[(triNdx+1)*numComponents]; 1046 float* const vtxCComps = &data[(triNdx+2)*numComponents];
|
/external/deqp/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationTests.cpp | 2250 for (int triNdx = 0; triNdx < (int)outTriangles.size(); ++triNdx) 2255 line.positions[0] = outTriangles.at(triNdx).positions[vrtxNdx]; 2256 line.positions[1] = outTriangles.at(triNdx).positions[vrtxNdx + 1]; 2261 line.positions[0] = outTriangles.at(triNdx).positions[2]; 2262 line.positions[1] = outTriangles.at(triNdx).positions[0]; 2270 for (int triNdx = 0; triNdx < (int)outTriangles.size(); ++triNdx) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationInvarianceTests.cpp | 1157 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) 1159 Triangle triangle = makeTriangle(primitives[triNdx]);
|