Lines Matching refs:primitives

542 		<< "Failure: the number of generated primitives is " << numPrimitives << ", expected at least " << refNumPrimitives
567 PerPrimitiveVec primitives;
698 result.primitives = sorted(readInterleavedData<PerPrimitive>(result.numPrimitives, resultAlloc.getHostPtr(), m_resultBufferPrimitiveDataOffset, sizeof(PerPrimitive)),
733 * primitives, the vertices generated for that outer edge. Repeat with
780 for (; primitiveNdx < result.numPrimitives && result.primitives[primitiveNdx].patchPrimitiveID == patchNdx; ++primitiveNdx)
783 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2);
859 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2);
955 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2);
970 const bool isMirrored = result.primitives[primitiveNdx].tessCoord[i].w() > 0.5f;
1192 const PerPrimitiveVec& primitives = aOrB == 0 ? primitivesA : primitivesB;
1198 Triangle triangle = makeTriangle(primitives[triNdx]);
1248 //! Compare two sets of primitives. Order of primitives in each set is undefined, but within each primitive
1410 // Output buffer: number of primitives and an array of PerPrimitive structures
1525 const PerPrimitiveVec primitives = sorted(readInterleavedData<PerPrimitive>(numPrimitives, resultAlloc.getHostPtr(),
1536 log << tcu::TestLog::Message << "Failure: got " << numPrimitives << " primitives, but expected at least" << refNumPrimitives << tcu::TestLog::EndMessage;
1538 return tcu::TestStatus::fail("Invalid set of primitives");
1541 const int half = static_cast<int>(primitives.size() / 2);
1542 const PerPrimitiveVec prim0 = PerPrimitiveVec(primitives.begin(), primitives.begin() + half);
1543 const PerPrimitive* const prim1 = &primitives[half];
1547 log << tcu::TestLog::Message << "Failure: tessellation coordinates differ between two primitives drawn in one draw call" << tcu::TestLog::EndMessage
1548 << tcu::TestLog::Message << "Note: tessellation levels for both primitives were: " << getTessellationLevelsString(tessLevels, m_caseDef.primitiveType) << tcu::TestLog::EndMessage;
1550 return tcu::TestStatus::fail("Invalid set of primitives");
1566 return tcu::TestStatus::fail("Invalid set of primitives");
1580 * Test that the sequence of primitives input to the TES only depends on
2210 //! which allows us to intercept verticess of final output primitives. This can't be done with tessellation shaders alone as number and order of