Home
last modified time | relevance | path

Searched refs:vertexIdx (Results 1 – 11 of 11) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/shaders/
Dgen_indices.metal117 uint vertexIdx = options.firstVertex + 2 + idx;
120 output[3 * idx + 1] = vertexIdx - 1;
121 output[3 * idx + 2] = vertexIdx;
Dmtl_default_shaders_src_autogen.inc285 uint vertexIdx = options.firstVertex + 2 + idx;
288 output[3 * idx + 1] = vertexIdx - 1;
289 output[3 * idx + 2] = vertexIdx;
/external/angle/util/
Dgeometry_utils.cpp41 size_t vertexIdx = i * (sliceCount + 1) + j; in CreateSphereGeometry() local
42 result->positions[vertexIdx] = direction * radius; in CreateSphereGeometry()
43 result->normals[vertexIdx] = direction; in CreateSphereGeometry()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp634 for (deUint32 vertexIdx = m_data.params.firstVertex; vertexIdx < vectorSize; ++vertexIdx) in generateDrawData() local
639 m_data.vertices[vertexIdx] = PositionColorVertex( in generateDrawData()
704 deUint32 vertexIdx = rnd.getInt(m_data.params.vertexOffset, INDEX_LIMIT); in generateDrawData() local
705 highestIndex = (vertexIdx > highestIndex) ? vertexIdx : highestIndex; in generateDrawData()
707 m_data.indexes[m_data.params.firstIndex + idx] = vertexIdx; in generateDrawData()
966 const deUint32 vertexIdx = rnd.getInt(it->vertexOffset, INDEX_LIMIT); in generateDrawData() local
967 const deUint32 maxIndex = vertexIdx + it->vertexOffset; in generateDrawData()
970 m_data.indexes[it->firstIndex + idx] = vertexIdx; in generateDrawData()
/external/angle/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp391 for (size_t vertexIdx = 0; vertexIdx < streamedVertexCount; vertexIdx++) in streamAttributes() local
393 uint8_t *out = bufferPointer + curBufferOffset + (destStride * vertexIdx); in streamAttributes()
394 const uint8_t *in = inputPointer + sourceStride * (vertexIdx + firstIndex); in streamAttributes()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp579 for (deUint32 vertexIdx = 0; vertexIdx < 6; vertexIdx++) in verifyImage() local
580 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = defaultTestColors[quadIdx]; in verifyImage()
1712 for (deUint32 vertexIdx = 0; vertexIdx < 6; vertexIdx++) in verifyImage() local
1714 const deUint32 idx = quadIdx * 6 + vertexIdx; in verifyImage()
3001 for (deUint32 vertexIdx = 0; vertexIdx < 6; vertexIdx++) in verifyImage() local
3002 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = defaultTestColors[quadIdx]; in verifyImage()
4049 for (deUint32 vertexIdx = 0; vertexIdx < 6; vertexIdx++) in verifyImage() local
4051 const deUint32 idx = quadIdx * 6 + vertexIdx; in verifyImage()
DvktPipelineDynamicOffsetTests.cpp598 for (deUint32 vertexIdx = 0; vertexIdx < 6; vertexIdx++) in verifyImage() local
608 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = refColor; in verifyImage()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp516 for (deUint32 vertexIdx = 0; vertexIdx < verticesCount; ++vertexIdx) in createVertexData() local
517 m_vertexIndices.push_back(vertexIdx); in createVertexData()
521 for (deUint32 vertexIdx = 0; vertexIdx < verticesCount; ++vertexIdx) in createVertexData() local
522 vertexColor[m_vertexIndices[vertexIdx]] = m_vertexColor[vertexIdx]; in createVertexData()
525 for (deUint32 vertexIdx = 0; vertexIdx < verticesCount; ++vertexIdx) in createVertexData() local
526 vertexCoord[m_vertexIndices[vertexIdx]] = m_vertexCoord[vertexIdx]; in createVertexData()
/external/angle/src/tests/gl_tests/
DTransformFeedbackTest.cpp181 for (size_t vertexIdx = 0; vertexIdx < 6; vertexIdx++) in TEST_P() local
185 EXPECT_NEAR(finalZ, bufferData[vertexIdx * 4 + 2], 0.0001); in TEST_P()
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
DParseHelper.cpp2150 … unsigned vertexIdx = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst(); in builtInOpCheck() local
2151 if (vertexIdx > 2) in builtInOpCheck()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.cpp2171 … unsigned vertexIdx = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst(); in builtInOpCheck() local
2172 if (vertexIdx > 2) in builtInOpCheck()