Home
last modified time | relevance | path

Searched refs:numIndices (Results 1 – 25 of 40) sorted by relevance

12

/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp102 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices() local
103 size_t numBytes = (numIndices / verticesPerPrimitive) * verticesPerPrimitive * bytesPerIndex; in copyIndices()
109 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices()
116 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices() local
117 GLsizei numTriangles = (numIndices - 2); in copyIndices()
125 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices()
131 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices() local
132 GLsizei numTriangles = (numIndices - 2); in copyIndices()
151 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices()
157 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices() local
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dcomposite.cpp30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch() local
31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch()
32 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsMatch()
44 uint32_t numIndices = std::min(extNumIndices, insNumIndices); in ExtInsConflict() local
45 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsConflict()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcomposite.cpp30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch() local
31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch()
32 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsMatch()
44 uint32_t numIndices = std::min(extNumIndices, insNumIndices); in ExtInsConflict() local
45 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsConflict()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcomposite.cpp30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch() local
31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch()
32 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsMatch()
44 uint32_t numIndices = std::min(extNumIndices, insNumIndices); in ExtInsConflict() local
45 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsConflict()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp461 int numIndices = getNumIndices(); in init() local
463 DE_ASSERT(numIndices > 0); in init()
465 …DE_ASSERT(m_endWithRestart || getIndex(numIndices-1) != restartIndex); // We don't want restarts… in init()
468 for (int i = 1; i < numIndices; i++) in init()
571 int numIndices = getNumIndices(); in draw() local
572 for (int i = 0; i < numIndices; i++) in draw()
617 int numIndices = getNumIndices(); in renderWithoutRestart() local
619 DE_ASSERT(numIndices >= 0); in renderWithoutRestart()
623 …for (int indexArrayNdx = 0; indexArrayNdx <= numIndices; indexArrayNdx++) // \note Goes one "too f… in renderWithoutRestart()
625 …if (indexArrayNdx >= numIndices || getIndex(indexArrayNdx) == restartIndex) // \note Handle end of… in renderWithoutRestart()
[all …]
/external/angle/src/libANGLE/renderer/
Drenderer_utils.h290 uint32_t numIndices = 0; in LineLoopRestartIndexCountHelper() local
299 numIndices++; in LineLoopRestartIndexCountHelper()
305 numIndices += 2; in LineLoopRestartIndexCountHelper()
312 numIndices++; in LineLoopRestartIndexCountHelper()
314 return numIndices; in LineLoopRestartIndexCountHelper()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorUtils.cpp190 unsigned numIndices = indices.size(); in makePermutationMap() local
192 for (unsigned dim = 0; dim < numIndices; ++dim) { in makePermutationMap()
201 assert((countInvariantIndices == numIndices || in makePermutationMap()
202 countInvariantIndices == numIndices - 1) && in makePermutationMap()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp101 int numIndices = gridSizeX * gridSizeY * numIndicesPerQuad; in generateIndices() local
102 dst.resize(numIndices); in generateIndices()
261 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY); in render() local
266 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, DE_NULL); in render()
DglsRandomShaderCase.cpp206 int numIndices = numQuads*6; in init() local
207 m_indices.resize(numIndices); in init()
DglsBufferTestUtil.cpp751 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices) in execVertexFetch() argument
753 for (int i = 0; i < numIndices; ++i) in execVertexFetch()
/external/llvm-project/mlir/tools/mlir-reduce/
DReductionTreeUtils.cpp50 int numIndices) { in createTransformSpace() argument
52 for (int i = 0; i < numIndices; ++i) in createTransformSpace()
/external/llvm-project/mlir/include/mlir/Reducer/
DReductionTreeUtils.h40 std::vector<bool> createTransformSpace(ModuleOp module, int numIndices);
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp264 …const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANG… in test() local
270 gridIndices.reserve(numIndices); in test()
326 DE_ASSERT(static_cast<int>(gridIndices.size()) == numIndices); in test()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.cpp1320 uint32_t numIndices, in DrawIndexedInstance() argument
1337 uint32_t maxIndicesPerDraw = MaxVertsPerDraw(pDC, numIndices, topology); in DrawIndexedInstance()
1339 uint32_t remainingIndices = numIndices; in DrawIndexedInstance()
1395 pDC->FeWork.desc.draw.numIndices = numIndicesForDraw; in DrawIndexedInstance()
1431 RDTSC_END(pContext->pBucketMgr, APIDrawIndexed, numIndices * numInstances); in DrawIndexedInstance()
1443 uint32_t numIndices, in SwrDrawIndexed() argument
1447 DrawIndexedInstance(hContext, topology, numIndices, indexOffset, baseVertex); in SwrDrawIndexed()
1462 uint32_t numIndices, in SwrDrawIndexedInstanced() argument
1469 hContext, topology, numIndices, indexOffset, baseVertex, numInstances, startInstance); in SwrDrawIndexedInstanced()
Dapi.h552 uint32_t numIndices,
570 uint32_t numIndices,
Dcontext.h180 uint32_t numIndices; // DrawIndexed: Number of indices for draw. member
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js232 retval.numIndices = indices.length;
311 retval.numIndices = indexData.length;
507 obj.numIndices = indexArray.length;
/external/deqp/framework/opengl/
DgluDrawUtil.cpp128 …IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indi…
373 IndexBuffer::IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const … in IndexBuffer() argument
380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage); in IndexBuffer()
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp93 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
276 int currentIndices = tess.numIndices(); in onPrepareDraws()
DGrAAConvexTessellator.h52 int numIndices() const { return fIndices.count(); } in numIndices() function
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp106 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
297 int currentIndices = tess.numIndices(); in onPrepareDraws()
DGrAAConvexTessellator.h52 int numIndices() const { return fIndices.count(); } in numIndices() function
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp562 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices) in execVertexFetch() argument
564 for (int i = 0; i < numIndices; ++i) in execVertexFetch()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/
Devents_private.proto172 uint32_t numIndices;
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1781 deUint32 numIndices, in render() argument
2174 if (numIndices != 0) in render()
2176 const VkDeviceSize indexBufferSize = numIndices * sizeof(deUint16); in render()
2274 if (numIndices != 0) in render()
2277 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1, 0, 0, 0); in render()

12