Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/vulkan/
DVertexArrayVk.cpp911 uint32_t clampedVertexCount = gl::clampCast<uint32_t>(vertexOrIndexCount); in handleLineLoop() local
914 size_t lastVertex = static_cast<size_t>(firstVertex + clampedVertexCount); in handleLineLoop()
919 contextVk, clampedVertexCount, firstVertex, &mCurrentElementArrayBuffer, in handleLineLoop()
DContextVk.cpp2537 uint32_t clampedVertexCount = gl::GetClampedVertexCount<uint32_t>(count); in drawArrays() local
2550 mRenderPassCommandBuffer->draw(clampedVertexCount, first); in drawArrays()
2564 uint32_t clampedVertexCount = gl::GetClampedVertexCount<uint32_t>(count); in drawArraysInstanced() local
2566 ANGLE_TRY(setupLineLoopDraw(context, mode, first, clampedVertexCount, in drawArraysInstanced()
2588 uint32_t clampedVertexCount = gl::GetClampedVertexCount<uint32_t>(count); in drawArraysInstancedBaseInstance() local
2590 ANGLE_TRY(setupLineLoopDraw(context, mode, first, clampedVertexCount, in drawArraysInstancedBaseInstance()
Dvk_helpers.h596 uint32_t clampedVertexCount,
Dvk_helpers.cpp3109 uint32_t clampedVertexCount, in getIndexBufferForDrawArrays() argument
3115 size_t allocateBytes = sizeof(uint32_t) * (static_cast<size_t>(clampedVertexCount) + 1); in getIndexBufferForDrawArrays()
3125 uint32_t vertexCount = (clampedVertexCount + unsignedFirstVertex); in getIndexBufferForDrawArrays()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp1750 UINT clampedVertexCount = gl::GetClampedVertexCount<UINT>(vertexCount); in drawArrays() local
1760 GetImplAs<Context11>(context), mode, adjustedInstanceCount, clampedVertexCount); in drawArrays()
1767 return drawLineLoop(context, clampedVertexCount, gl::DrawElementsType::InvalidEnum, in drawArrays()
1770 return drawTriangleFan(context, clampedVertexCount, gl::DrawElementsType::InvalidEnum, in drawArrays()
1783 mDeviceContext->DrawIndexedInstanced(6, clampedVertexCount, 0, 0, baseInstance); in drawArrays()
1797 mDeviceContext->DrawIndexedInstanced(6, clampedVertexCount, 0, 0, baseInstance); in drawArrays()
1813 mDeviceContext->Draw(clampedVertexCount, 0); in drawArrays()
1817 mDeviceContext->DrawInstanced(clampedVertexCount, adjustedInstanceCount, 0, baseInstance); in drawArrays()
1901 UINT clampedVertexCount = gl::clampCast<UINT>(indexRange.vertexCount()); in drawElements() local
1908 mDeviceContext->DrawIndexedInstanced(6, clampedVertexCount, 0, baseVertexAdjusted, in drawElements()