Home
last modified time | relevance | path

Searched refs:vertexOffset (Results 1 – 25 of 112) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h122 int32_t vertexOffset,
125 void drawIndexedBaseVertex(uint32_t indexCount, uint32_t vertexOffset);
129 uint32_t vertexOffset);
133 int32_t vertexOffset,
387 int32_t vertexOffset, in drawIndexed() argument
392 CommandBuffer::drawIndexed(indexCount, instanceCount, firstIndex, vertexOffset, firstInstance); in drawIndexed()
403 uint32_t vertexOffset) in drawIndexedBaseVertex() argument
407 CommandBuffer::drawIndexed(indexCount, 1, 0, vertexOffset, 0); in drawIndexedBaseVertex()
421 uint32_t vertexOffset) in drawIndexedInstancedBaseVertex() argument
425 CommandBuffer::drawIndexed(indexCount, instanceCount, 0, vertexOffset, 0); in drawIndexedInstancedBaseVertex()
[all …]
DSecondaryCommandBuffer.h258 uint32_t vertexOffset; member
282 uint32_t vertexOffset; member
291 int32_t vertexOffset; member
594 void drawIndexedBaseVertex(uint32_t indexCount, uint32_t vertexOffset);
602 uint32_t vertexOffset);
606 int32_t vertexOffset,
1177 uint32_t vertexOffset) in drawIndexedBaseVertex() argument
1182 paramStruct->vertexOffset = vertexOffset; in drawIndexedBaseVertex()
1215 uint32_t vertexOffset) in drawIndexedInstancedBaseVertex() argument
1222 paramStruct->vertexOffset = vertexOffset; in drawIndexedInstancedBaseVertex()
[all …]
DSecondaryCommandBuffer.cpp353 vkCmdDrawIndexed(cmdBuffer, params->indexCount, 1, 0, params->vertexOffset, 0); in executeCommands()
376 params->vertexOffset, 0); in executeCommands()
385 params->firstIndex, params->vertexOffset, in executeCommands()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultiExtTests.cpp90 tcu::Maybe<VertexOffsetParams> vertexOffset; // Only used for indexed draws. member
349 VkBuffer vertexBuffer, VkDeviceSize vertexBufferOffset, deInt32 vertexOffset,
769 VkBuffer vertexBuffer, VkDeviceSize vertexBufferOffset, deInt32 vertexOffset, in drawCommands() argument
788 const auto offsetPtr = (isMixedMode ? nullptr : &vertexOffset); in drawCommands()
816 …const auto isMixedMode = (isIndexed && m_params.vertexOffset && m_params.vertexOffset->offsetType… in iterate()
817 const auto extraVertices = (m_params.vertexOffset ? m_params.vertexOffset->offset : 0u); in iterate()
821 DE_ASSERT(!isIndexed || static_cast<bool>(m_params.vertexOffset)); in iterate()
1087 …const auto offsetType = (m_params.vertexOffset ? tcu::just(m_params.vertexOffset->offsetType) : tc… in iterate()
1088 const auto vertexOffset = static_cast<deInt32>(extraVertices); in iterate() local
1102 …d && (!isMixedMode || (moreThanOneDraw && drawIdx < m_params.drawCount - 1u))) ? vertexOffset : 0); in iterate()
[all …]
DvktBasicDrawTests.cpp162 params.vertexOffset = vertexO; in DrawIndexedParams()
202 cmd.vertexOffset = vertexO; in addCommand()
887 deUint32 vertexIdx = rnd.getInt(m_data.params.vertexOffset, INDEX_LIMIT); in generateDrawData()
894 …m_data.vertices = std::vector<PositionColorVertex>(m_data.params.vertexOffset + highestIndex + 1, … in generateDrawData()
900 …nColorVertex>::iterator vertexIt = m_data.vertices.begin() + m_data.params.vertexOffset + *indexIt; in generateDrawData()
915 … m_data.params.instanceCount, m_data.params.firstIndex, m_data.params.vertexOffset, m_data.params.… in draw()
1032 deUint32 idx = m_data.params.vertexOffset + *it; in iterate()
1268 const deUint32 vertexIdx = rnd.getInt(it->vertexOffset, INDEX_LIMIT); in generateDrawData()
1269 const deUint32 maxIndex = vertexIdx + it->vertexOffset; in generateDrawData()
1287 …ionColorVertex>::iterator vertexIt = m_data.vertices.begin() + cmdIt->vertexOffset + m_data.indexe… in generateDrawData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawMultiExtTests.cpp90 tcu::Maybe<VertexOffsetParams> vertexOffset; // Only used for indexed draws. member
349 VkBuffer vertexBuffer, VkDeviceSize vertexBufferOffset, deInt32 vertexOffset,
769 VkBuffer vertexBuffer, VkDeviceSize vertexBufferOffset, deInt32 vertexOffset, in drawCommands() argument
788 const auto offsetPtr = (isMixedMode ? nullptr : &vertexOffset); in drawCommands()
816 …const auto isMixedMode = (isIndexed && m_params.vertexOffset && m_params.vertexOffset->offsetType… in iterate()
817 const auto extraVertices = (m_params.vertexOffset ? m_params.vertexOffset->offset : 0u); in iterate()
821 DE_ASSERT(!isIndexed || static_cast<bool>(m_params.vertexOffset)); in iterate()
1087 …const auto offsetType = (m_params.vertexOffset ? tcu::just(m_params.vertexOffset->offsetType) : tc… in iterate()
1088 const auto vertexOffset = static_cast<deInt32>(extraVertices); in iterate() local
1102 …d && (!isMixedMode || (moreThanOneDraw && drawIdx < m_params.drawCount - 1u))) ? vertexOffset : 0); in iterate()
[all …]
DvktBasicDrawTests.cpp162 params.vertexOffset = vertexO; in DrawIndexedParams()
202 cmd.vertexOffset = vertexO; in addCommand()
887 deUint32 vertexIdx = rnd.getInt(m_data.params.vertexOffset, INDEX_LIMIT); in generateDrawData()
894 …m_data.vertices = std::vector<PositionColorVertex>(m_data.params.vertexOffset + highestIndex + 1, … in generateDrawData()
900 …nColorVertex>::iterator vertexIt = m_data.vertices.begin() + m_data.params.vertexOffset + *indexIt; in generateDrawData()
915 … m_data.params.instanceCount, m_data.params.firstIndex, m_data.params.vertexOffset, m_data.params.… in draw()
1032 deUint32 idx = m_data.params.vertexOffset + *it; in iterate()
1268 const deUint32 vertexIdx = rnd.getInt(it->vertexOffset, INDEX_LIMIT); in generateDrawData()
1269 const deUint32 maxIndex = vertexIdx + it->vertexOffset; in generateDrawData()
1287 …ionColorVertex>::iterator vertexIt = m_data.vertices.begin() + cmdIt->vertexOffset + m_data.indexe… in generateDrawData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/dynamic_state/
DVertexFetchLines.mesh14 uint vertexOffset;
25 const uint firstVertex = uint(gl_WorkGroupID.x) + pc.vertexOffset;
DVertexFetch.mesh14 uint vertexOffset;
25 const uint firstVertex = uint(gl_WorkGroupID.x) + pc.vertexOffset;
DVertexFetchViewportArray.mesh14 uint vertexOffset;
25 const uint firstVertex = uint(gl_WorkGroupID.x) + pc.vertexOffset;
/third_party/skia/experimental/graphite/src/
DCommandBuffer.cpp51 void CommandBuffer::bindVertexBuffers(sk_sp<Buffer> vertexBuffer, size_t vertexOffset, in bindVertexBuffers() argument
53 this->onBindVertexBuffers(vertexBuffer.get(), vertexOffset, in bindVertexBuffers()
DCommandBuffer.h66 void bindVertexBuffers(sk_sp<Buffer> vertexBuffer, size_t vertexOffset,
111 virtual void onBindVertexBuffers(const Buffer* vertexBuffer, size_t vertexOffset,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp828 const VkDeviceSize vertexOffset = 0ull; in rendererDraw() local
830 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexOffset); in rendererDraw()
1284 VkDeviceSize vertexOffset = 0ull; in rendererDraw() local
1286 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_sparseBuffer.get(), &vertexOffset); in rendererDraw()
1289 vertexOffset += m_perDrawBufferOffset * (m_residency ? 2 : 1); in rendererDraw()
1291 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_sparseBuffer.get(), &vertexOffset); in rendererDraw()
1327 const VkDeviceSize vertexOffset = 0ull; in rendererDraw() local
1330 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexOffset); in rendererDraw()
1395 const VkDeviceSize vertexOffset = 0ull; in rendererDraw() local
1398 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexOffset); in rendererDraw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp828 const VkDeviceSize vertexOffset = 0ull; in rendererDraw() local
830 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexOffset); in rendererDraw()
1284 VkDeviceSize vertexOffset = 0ull; in rendererDraw() local
1286 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_sparseBuffer.get(), &vertexOffset); in rendererDraw()
1289 vertexOffset += m_perDrawBufferOffset * (m_residency ? 2 : 1); in rendererDraw()
1291 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_sparseBuffer.get(), &vertexOffset); in rendererDraw()
1327 const VkDeviceSize vertexOffset = 0ull; in rendererDraw() local
1330 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexOffset); in rendererDraw()
1395 const VkDeviceSize vertexOffset = 0ull; in rendererDraw() local
1398 vk.cmdBindVertexBuffers (cmdBuffer, 0u, 1u, &m_vertexBuffer.get(), &vertexOffset); in rendererDraw()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp475 …uint32_t count, uint32_t instanceCount, uint32_t first, int32_t vertexOffset, uint32_t firstInstan… in draw() argument
508 …ecutionState.renderer->draw(pipeline, executionState.dynamicState, indexBuffer.first, vertexOffset, in draw()
548 …32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t first… in CmdDrawIndexed() argument
552 , vertexOffset(vertexOffset) in CmdDrawIndexed()
559 draw(executionState, true, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance); in execute()
568 const int32_t vertexOffset; member in __anon050568cb0111::CmdDrawIndexed
617 …ate, true, cmd->indexCount, cmd->instanceCount, cmd->firstIndex, cmd->vertexOffset, cmd->firstInst… in execute()
1698 …32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t first… in drawIndexed() argument
1700 addCommand<::CmdDrawIndexed>(indexCount, instanceCount, firstIndex, vertexOffset, firstInstance); in drawIndexed()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_KHR_shader_draw_parameters.txt38 * code:BaseVertex, containing the pname:firstVertex or pname:vertexOffset
86 Now in Vulkan, we have code:BaseVertex = pname:vertexOffset (for indexed
DVK_KHR_shader_draw_parameters.adoc38 * code:BaseVertex, containing the pname:firstVertex or pname:vertexOffset
87 Now in Vulkan, we have code:BaseVertex = pname:vertexOffset (for indexed
/third_party/skia/experimental/graphite/src/mtl/
DMtlCommandBuffer.mm171 size_t vertexOffset,
178 SkASSERT((vertexOffset & 0xF) == 0);
179 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, vertexOffset,
DMtlCommandBuffer.h58 void onBindVertexBuffers(const skgpu::Buffer* vertexBuffer, size_t vertexOffset,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DTransformFeedback.h45 int vertexOffset() const;
DTransformFeedback.cpp62 int TransformFeedback::vertexOffset() const in vertexOffset() function in es2::TransformFeedback
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_enqueue.c102 cmd->u.draw_multi_indexed_ext.index_info[i].vertexOffset = draw->vertexOffset; in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm347 size_t vertexOffset,
355 this->setVertexBuffer(fActiveRenderCmdEncoder, grMtlBuffer, vertexOffset, bufferIndex++);
465 size_t vertexOffset,
472 size_t offset = buffer->offset() + vertexOffset;
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl362 …32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t first… argument
368 res.vertexOffset = vertexOffset;
390 …nfoEXT makeMultiDrawIndexedInfoEXT (uint32_t firstIndex, uint32_t indexCount, int32_t vertexOffset) argument
395 res.vertexOffset = vertexOffset;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.hpp89 void pushVertexOffset (const uint32_t vertexOffset,

12345