Lines Matching refs:primitives
363 const int numVertices = numVerticesPerPrimitive(primitiveType, *usePointModeIter); // Primitives that the tessellated patch comprises of.
530 << "Failure: the number of generated primitives is " << numPrimitives << ", expected at least " << refNumPrimitives
555 PerPrimitiveVec primitives;
682 result.primitives = sorted(readInterleavedData<PerPrimitive>(result.numPrimitives, resultAlloc.getHostPtr(), m_resultBufferPrimitiveDataOffset, sizeof(PerPrimitive)),
716 * primitives, the vertices generated for that outer edge. Repeat with
763 for (; primitiveNdx < result.numPrimitives && result.primitives[primitiveNdx].patchPrimitiveID == patchNdx; ++primitiveNdx)
766 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2);
842 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2);
938 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2);
953 const bool isMirrored = result.primitives[primitiveNdx].tessCoord[i].w() > 0.5f;
1155 const PerPrimitiveVec& primitives = aOrB == 0 ? primitivesA : primitivesB;
1161 Triangle triangle = makeTriangle(primitives[triNdx]);
1211 primitives. Order of primitives in each set is undefined, but within each primitive
1365 // Output buffer: number of primitives and an array of PerPrimitive structures
1474 const PerPrimitiveVec primitives = sorted(readInterleavedData<PerPrimitive>(numPrimitives, resultAlloc.getHostPtr(), resultBufferTessCoordsOffset, sizeof(PerPrimitive)),
1485 log << tcu::TestLog::Message << "Failure: got " << numPrimitives << " primitives, but expected at least" << refNumPrimitives << tcu::TestLog::EndMessage;
1487 return tcu::TestStatus::fail("Invalid set of primitives");
1490 const int half = static_cast<int>(primitives.size() / 2);
1491 const PerPrimitiveVec prim0 = PerPrimitiveVec(primitives.begin(), primitives.begin() + half);
1492 const PerPrimitive* const prim1 = &primitives[half];
1496 log << tcu::TestLog::Message << "Failure: tessellation coordinates differ between two primitives drawn in one draw call" << tcu::TestLog::EndMessage
1497 << tcu::TestLog::Message << "Note: tessellation levels for both primitives were: " << getTessellationLevelsString(tessLevels, m_caseDef.primitiveType) << tcu::TestLog::EndMessage;
1499 return tcu::TestStatus::fail("Invalid set of primitives");
1515 return tcu::TestStatus::fail("Invalid set of primitives");
1529 * Test that the sequence of primitives input to the TES only depends on
2146 //! which allows us to intercept verticess of final output primitives. This can't be done with tessellation shaders alone as number and order of