/external/deqp/modules/gles3/functional/ |
D | es3fRasterizerDiscardTests.cpp | 80 …ase (Context& context, const char* name, const char* description, int numPrimitives, CaseType case… 107 …ase (Context& context, const char* name, const char* description, int numPrimitives, CaseType case… in RasterizerDiscardCase() argument 109 , m_numPrimitives (numPrimitives) in RasterizerDiscardCase() 127 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd, deUint32… in generateVertices() argument 133 case GL_POINTS: numVertices = numPrimitives; break; in generateVertices() 134 case GL_LINES: numVertices = 2*numPrimitives; break; in generateVertices() 135 case GL_LINE_STRIP: numVertices = numPrimitives+1; break; in generateVertices() 136 case GL_LINE_LOOP: numVertices = numPrimitives+2; break; in generateVertices() 137 case GL_TRIANGLES: numVertices = 3*numPrimitives; break; in generateVertices() 138 case GL_TRIANGLE_STRIP: numVertices = numPrimitives+2; break; in generateVertices() [all …]
|
D | es3fSyncTests.cpp | 66 …se (Context& context, const char* name, const char* description, int numPrimitives, deUint32 wait… 89 …ase (Context& context, const char* name, const char* description, int numPrimitives, deUint32 wait… in FenceSyncCase() argument 92 , m_numPrimitives (numPrimitives) in FenceSyncCase() 109 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd) in generateVertices() argument 111 int numVertices = 3*numPrimitives; in generateVertices()
|
D | es3fTransformFeedbackTests.cpp | 1253 deUint32 numPrimitives = 0; in runTest() local 1256 gl.getQueryObjectuiv(*primitiveQuery, GL_QUERY_RESULT, &numPrimitives); in runTest() 1265 …log << TestLog::Message << "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = " << numPrimitives << TestL… in runTest() 1267 if ((int)numPrimitives != expectedCount) in runTest()
|
/external/deqp/modules/gles31/stress/ |
D | es31sTessellationGeometryInteractionTests.cpp | 85 std::string getGeometryShaderSource (int numPrimitives, int numInstances); 488 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances) in getGeometryShaderSource() argument 495 "layout(triangle_strip, max_vertices=" << (numPrimitives + 2) << ") out;\n" in getGeometryShaderSource() 535 " for (int ndx = 0; ndx < " << ((numPrimitives+2)/2) << "; ++ndx)\n" in getGeometryShaderSource() 540 …" float xpos = mix(outputSliceArea.x, outputSliceArea.z, float(ndx) / float(" << (numPrimitives/2… in getGeometryShaderSource()
|
/external/deqp/modules/gles3/stress/ |
D | es3sSyncTests.cpp | 60 …se (Context& context, const char* name, const char* description, int numPrimitives, deUint32 wait… 97 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd) in generateVertices() argument 99 int numVertices = 3*numPrimitives; in generateVertices()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderHelperInvocationTests.cpp | 101 static void genVertices (PrimitiveType primType, int numPrimitives, de::Random* rnd, vector<Vec2>* … in genVertices() argument 107 const int numVert = numVerticesPerPrimitive*numPrimitives; in genVertices() 121 for (int primitiveNdx = 0; primitiveNdx < numPrimitives; ++primitiveNdx) in genVertices() 162 …nderContext& renderCtx, deUint32 program, PrimitiveType primType, int numPrimitives, de::Random* r… in drawRandomPrimitives() argument 172 genVertices(primType, numPrimitives, rnd, &vertices); in drawRandomPrimitives()
|
D | es31fTessellationGeometryInteractionTests.cpp | 2135 std::string getGeometryShaderSource (int numPrimitives, int numInstances, int tessLevel); 2632 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances, int tessL… in getGeometryShaderSource() argument 2639 …s=" << ((m_flags & FLAG_GEOMETRY_SEPARATE_PRIMITIVES) ? (4 * numPrimitives) : (numPrimitives + 2))… in getGeometryShaderSource() 2672 " for (int ndx = 0; ndx < " << numPrimitives << "; ++ndx)\n" in getGeometryShaderSource() 2674 …" ivec2 dstGridSize = ivec2(" << tessLevel << " * " << numPrimitives << ", 2 * " << tessLevel << … in getGeometryShaderSource() 2711 " for (int ndx = 0; ndx < " << numPrimitives << "; ++ndx)\n" in getGeometryShaderSource() 2713 …" ivec2 dstGridSize = ivec2(" << tessLevel << " * " << numPrimitives << ", " << tessLevel << ");\… in getGeometryShaderSource() 2714 …" ivec2 dstGridNdx = ivec2((gridPosition.x * " << numPrimitives << " * 7 + ndx)*13, (gridPosition… in getGeometryShaderSource() 2781 " for (int ndx = 0; ndx < " << ((numPrimitives+2)/2) << "; ++ndx)\n" in getGeometryShaderSource() 2786 …os = mix(outputSliceArea.x, outputSliceArea.z, float(ndx) / float(" << (numPrimitives/2) << "));\n" in getGeometryShaderSource()
|
D | es31fTessellationTests.cpp | 300 int numPrimitives; member 303 Result (void) : numPrimitives(-1) {} in Result() 304 Result (int n, const vector<VaryingT>& v) : numPrimitives(n), varying(v) {} in Result() 2057 if (tfResult.numPrimitives != (int)tessCoordsRef.size()) in iterate() 2060 << tfResult.numPrimitives << ", reference value is " << tessCoordsRef.size() in iterate() 2065 …reported GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN to be " << tfResult.numPrimitives << TestLog::En… in iterate() 3231 …const int numPrimitives = m_caseType == CASETYPE_PRIMITIVE_ID_TCS || m_caseType == CASETYPE_PRIMIT… in iterate() local 3234 attributeData.reserve(numPrimitives*INPUT_PATCH_SIZE); in iterate() 3236 for (int i = 0; i < numPrimitives; i++) in iterate() 3238 attributeData.push_back((float)i / (float)numPrimitives); in iterate() [all …]
|