HomeSort by relevance Sort by last modified time
    Searched defs:numPrimitives (Results 1 - 4 of 4) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/android/text/
GreedyLineBreaker.java 49 int numPrimitives = mPrimitives.size();
54 for (int i = 0; i < numPrimitives; i++) {
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationGeometryGridRenderTests.cpp 282 const int numPrimitives = m_numGeometryPrimitivesPerInvocation;
289 << "layout(triangle_strip, max_vertices = " << ((m_flags & FLAG_GEOMETRY_SEPARATE_PRIMITIVES) ? (4 * numPrimitives) : (numPrimitives + 2)) << ") out;\n"
322 << " for (int ndx = 0; ndx < " << numPrimitives << "; ++ndx)\n"
324 << " ivec2 dstGridSize = ivec2(" << m_tessGenLevel << " * " << numPrimitives << ", 2 * " << m_tessGenLevel << " * " << numInvocations << ");\n"
361 << " for (int ndx = 0; ndx < " << numPrimitives << "; ++ndx)\n"
363 << " ivec2 dstGridSize = ivec2(" << m_tessGenLevel << " * " << numPrimitives << ", " << m_tessGenLevel << ");\n"
364 << " ivec2 dstGridNdx = ivec2((gridPosition.x * " << numPrimitives << " * 7 + ndx)*13, (gridPosition.y * 127 + ndx) * 19) % dstGridSize;\n"
431 << " for (int ndx = 0; ndx < " << ((numPrimitives+2)/2) << "; ++ndx)\n"
436 << " float xpos = mix(outputSliceArea.x, outputSliceArea.z, float(ndx) / float(" << (numPrimitives/2) << "));\n
    [all...]
vktTessellationShaderInputOutputTests.cpp 64 const int numPrimitives,
166 vk.cmdDraw(*cmdBuffer, numPrimitives * inPatchSize, 1u, 0u, 0u);
317 const int numPrimitives = 1;
319 return runTest(context, numPrimitives, caseDef.inPatchSize, caseDef.outPatchSize,
486 const int numPrimitives = getNumPrimitives(caseDef.caseType);
487 std::vector<float> vertexData (INPUT_PATCH_SIZE * numPrimitives, 0.0f);
490 for (int i = 0; i < numPrimitives; ++i)
491 vertexData[INPUT_PATCH_SIZE * i] = static_cast<float>(i) / static_cast<float>(numPrimitives);
499 return runTest(context, numPrimitives, INPUT_PATCH_SIZE, OUTPUT_PATCH_SIZE,
626 const int numPrimitives = 1
    [all...]
vktTessellationInvarianceTests.cpp 377 << " int numPrimitives;\n"
383 << " int index = atomicAdd(sb_out.numPrimitives, 1);\n"
523 void logPrimitiveCountError (tcu::TestLog& log, const int numPatchesToDraw, int numPrimitives, const int refNumPrimitives, const std::vector<float>& patchTessLevels)
526 << "Failure: the number of generated primitives is " << numPrimitives << ", expected at least " << refNumPrimitives
550 deInt32 numPrimitives;
677 result.numPrimitives = *static_cast<deInt32*>(resultAlloc.getHostPtr());
678 result.primitives = sorted(readInterleavedData<PerPrimitive>(result.numPrimitives, resultAlloc.getHostPtr(), m_resultBufferPrimitiveDataOffset, sizeof(PerPrimitive)),
682 DE_ASSERT(result.numPrimitives <= m_maxNumPrimitivesInDrawCall);
685 if (result.numPrimitives != result.refNumPrimitives)
687 logPrimitiveCountError(log, m_numPatchesToDraw, result.numPrimitives, result.refNumPrimitives, patchTessLevels)
    [all...]

Completed in 164 milliseconds