Home
last modified time | relevance | path

Searched refs:triIndex (Results 1 – 5 of 5) sorted by relevance

/external/angle/src/tests/gl_tests/
DProvokingVertexTest.cpp227 for (unsigned int triIndex = 0; triIndex < 4; ++triIndex) in TEST_P() local
229 GLfloat sumX = positionData[triIndex * 2 + 0] + positionData[triIndex * 2 + 2] + in TEST_P()
230 positionData[triIndex * 2 + 4]; in TEST_P()
231 GLfloat sumY = positionData[triIndex * 2 + 1] + positionData[triIndex * 2 + 3] + in TEST_P()
232 positionData[triIndex * 2 + 5]; in TEST_P()
242 unsigned int provokingVertexIndex = triIndex + 2; in TEST_P()
279 for (unsigned int triIndex = 0; triIndex < 4; ++triIndex) in TEST_P() local
281 GLint vertexA = indexData[triOffsets[triIndex] + 0]; in TEST_P()
282 GLint vertexB = indexData[triOffsets[triIndex] + 1]; in TEST_P()
283 GLint vertexC = indexData[triOffsets[triIndex] + 2]; in TEST_P()
[all …]
/external/angle/src/tests/test_utils/
Ddraw_call_perf_utils.cpp68 for (size_t triIndex = 0; triIndex < numTris; ++triIndex) in Generate2DTriangleData() local
/external/angle/src/tests/perf_tests/
DIndexConversionPerf.cpp96 for (unsigned int triIndex = 0; triIndex < params.numIndexTris; ++triIndex) in initializeBenchmark() local
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbinner.cpp74 DRAW_CONTEXT* pDC, PA_STATE& pa, uint32_t triIndex, uint32_t primId, float* pBuffer) in ProcessAttributes() argument
118 adjustedTriIndex = triIndex + quadProvokingTri[triIndex & 1][provokingVertex]; in ProcessAttributes()
119 vid = quadProvokingVertex[triIndex & 1][provokingVertex]; in ProcessAttributes()
122 adjustedTriIndex = triIndex + qstripProvokingTri[triIndex & 1][provokingVertex]; in ProcessAttributes()
123 vid = qstripProvokingVertex[triIndex & 1][provokingVertex]; in ProcessAttributes()
126 adjustedTriIndex = triIndex; in ProcessAttributes()
128 (triIndex & 1) ? tristripProvokingVertex[provokingVertex] : provokingVertex; in ProcessAttributes()
131 adjustedTriIndex = triIndex; in ProcessAttributes()
146 pa.AssembleSingle(inputSlot, triIndex, attrib); in ProcessAttributes()
157 pa.AssembleSingle(inputSlot, triIndex, attrib); in ProcessAttributes()
[all …]
Dpa.h871 void AssembleSingle(uint32_t slot, uint32_t triIndex, simd4scalar tri[3]) in AssembleSingle()
879 useAlternateOffset ? pOffset[triIndex + SIMD_WIDTH_DIV2] : pOffset[triIndex]; in AssembleSingle()
881 uint32_t offset = pOffset[triIndex]; in AssembleSingle()
894 if ((this->binTopology == TOP_RECT_LIST) && (triIndex % 2 == 1)) in AssembleSingle()