Home
last modified time | relevance | path

Searched refs:vertexPerPrimitive (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp236 unsigned int vertexPerPrimitive = 0; in recomputePrimitiveCount() local
241 ++vertexPerPrimitive; in recomputePrimitiveCount()
243 vertexPerPrimitive += 2; in recomputePrimitiveCount()
247 *primitiveCount += nbIndices / vertexPerPrimitive; in recomputePrimitiveCount()
249 return vertexPerPrimitive; in recomputePrimitiveCount()
252 ++vertexPerPrimitive; in recomputePrimitiveCount()
257 vertexPerPrimitive += 2; in recomputePrimitiveCount()
261 *primitiveCount += (nbIndices >= vertexPerPrimitive) ? (nbIndices + countOffset) : 0; in recomputePrimitiveCount()
263 return vertexPerPrimitive; in recomputePrimitiveCount()
301 …int vertexPerPrimitive = recomputePrimitiveCount(mode, count, *restartIndices, &translated->primit… in prepareIndexData() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp1419 const deUint32 vertexPerPrimitive = 1u; in imageData() local
1425 …setPoint(referenceFrame->getLevel(0), getQuarterRefColor(dummyQuarterNdx, vertexPerPrimitive * dra… in imageData()
1427 …setPoint(referenceFrame->getLevel(0), getQuarterRefColor(dummyQuarterNdx, vertexPerPrimitive * sub… in imageData()
1432 const deUint32 vertexPerPrimitive = 3u; in imageData() local
1437 …e(referenceFrame->getLevel(0), getQuarterRefColor(dummyQuarterNdx, vertexPerPrimitive * drawNdx, l… in imageData()
1439 …e(referenceFrame->getLevel(0), getQuarterRefColor(dummyQuarterNdx, vertexPerPrimitive * subpassQua… in imageData()
2355 const deUint32 vertexPerPrimitive = 3u; in draw() local
2396 …m_device->cmdDraw(*m_cmdBuffer, vertexPerPrimitive, 1u, (drawNdx + subpassNdx % m_squareCount) * v… in draw()
3226 const deUint32 vertexPerPrimitive = 4u; in draw() local
3248 deUint32 firstVertexOffset = (subpassNdx < 4) ? 0u : m_squareCount * vertexPerPrimitive; in draw()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp712 deUint32 vertexPerPrimitive; member
940 const deUint32 vertexPerPrimitive = m_tParameters.vertexPerPrimitive; in verifyTransformFeedbackBuffer() local
941 const deUint32 numPrimitives = numPoints / vertexPerPrimitive; in verifyTransformFeedbackBuffer()
946 const deUint32* tfDataForPrimitive = &tfData[primitiveIndex * vertexPerPrimitive]; in verifyTransformFeedbackBuffer()
953 for (deUint32 combinationIndex = 0; combinationIndex < vertexPerPrimitive; combinationIndex++) in verifyTransformFeedbackBuffer()
956 for (deUint32 vertexIndex = 0; vertexIndex < vertexPerPrimitive; vertexIndex++) in verifyTransformFeedbackBuffer()
958 …e[vertexIndex] == expectedDataForPrimitive[(combinationIndex + vertexIndex) % vertexPerPrimitive]); in verifyTransformFeedbackBuffer()
975 for (deUint32 vertexIndex = 0; vertexIndex < vertexPerPrimitive; vertexIndex++) in verifyTransformFeedbackBuffer()
978 for (deUint32 vertexIndex = 0; vertexIndex < vertexPerPrimitive; vertexIndex++) in verifyTransformFeedbackBuffer()