OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:numPrimitives
(Results
1 - 3
of
3
) sorted by null
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationGeometryGridRenderTests.cpp
285
const int
numPrimitives
= m_numGeometryPrimitivesPerInvocation;
292
<< "layout(triangle_strip, max_vertices = " << ((m_flags & FLAG_GEOMETRY_SEPARATE_PRIMITIVES) ? (4 *
numPrimitives
) : (
numPrimitives
+ 2)) << ") out;\n"
325
<< " for (int ndx = 0; ndx < " <<
numPrimitives
<< "; ++ndx)\n"
327
<< " ivec2 dstGridSize = ivec2(" << m_tessGenLevel << " * " <<
numPrimitives
<< ", 2 * " << m_tessGenLevel << " * " << numInvocations << ");\n"
364
<< " for (int ndx = 0; ndx < " <<
numPrimitives
<< "; ++ndx)\n"
366
<< " ivec2 dstGridSize = ivec2(" << m_tessGenLevel << " * " <<
numPrimitives
<< ", " << m_tessGenLevel << ");\n"
367
<< " ivec2 dstGridNdx = ivec2((gridPosition.x * " <<
numPrimitives
<< " * 7 + ndx)*13, (gridPosition.y * 127 + ndx) * 19) % dstGridSize;\n"
434
<< " for (int ndx = 0; ndx < " << ((
numPrimitives
+2)/2) << "; ++ndx)\n"
439
<< " float xpos = mix(outputSliceArea.x, outputSliceArea.z, float(ndx) / float(" << (
numPrimitives
/2) << "));\n
[
all
...]
vktTessellationShaderInputOutputTests.cpp
67
const int
numPrimitives
,
166
vk.cmdDraw(*cmdBuffer,
numPrimitives
* inPatchSize, 1u, 0u, 0u);
313
const int
numPrimitives
= 1;
315
return runTest(context,
numPrimitives
, caseDef.inPatchSize, caseDef.outPatchSize,
467
const int
numPrimitives
= getNumPrimitives(caseDef.caseType);
468
std::vector<float> vertexData (INPUT_PATCH_SIZE *
numPrimitives
, 0.0f);
471
for (int i = 0; i <
numPrimitives
; ++i)
472
vertexData[INPUT_PATCH_SIZE * i] = static_cast<float>(i) / static_cast<float>(
numPrimitives
);
480
return runTest(context,
numPrimitives
, INPUT_PATCH_SIZE, OUTPUT_PATCH_SIZE,
607
const int
numPrimitives
= 1
[
all
...]
vktTessellationInvarianceTests.cpp
381
<< " int
numPrimitives
;\n"
387
<< " int index = atomicAdd(sb_out.
numPrimitives
, 1);\n"
527
void logPrimitiveCountError (tcu::TestLog& log, const int numPatchesToDraw, int
numPrimitives
, const int refNumPrimitives, const std::vector<float>& patchTessLevels)
530
<< "Failure: the number of generated primitives is " <<
numPrimitives
<< ", expected at least " << refNumPrimitives
554
deInt32
numPrimitives
;
681
result.
numPrimitives
= *static_cast<deInt32*>(resultAlloc.getHostPtr());
682
result.primitives = sorted(readInterleavedData<PerPrimitive>(result.
numPrimitives
, resultAlloc.getHostPtr(), m_resultBufferPrimitiveDataOffset, sizeof(PerPrimitive)),
686
DE_ASSERT(result.
numPrimitives
<= m_maxNumPrimitivesInDrawCall);
689
if (result.
numPrimitives
< result.refNumPrimitives)
691
logPrimitiveCountError(log, m_numPatchesToDraw, result.
numPrimitives
, result.refNumPrimitives, patchTessLevels)
[
all
...]
Completed in 1280 milliseconds