Home
last modified time | relevance | path

Searched refs:m_vertexColorAlloc (Results 1 - 2 of 2) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/
H A DvktMultiViewRenderTests.cpp337 MovePtr<Allocation> m_vertexColorAlloc; member in vkt::MultiView::__anon29374::MultiViewRenderTestInstance
699 m_vertexColorAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *m_vertexColorBuffer), MemoryRequirement::HostVisible); in createVertexBuffer()
701 VK_CHECK(m_device->bindBufferMemory(*m_logicalDevice, *m_vertexColorBuffer, m_vertexColorAlloc->getMemory(), m_vertexColorAlloc->getOffset())); in createVertexBuffer()
702 deMemcpy(m_vertexColorAlloc->getHostPtr(), m_vertexColor.data(), static_cast<size_t>(dataSize)); in createVertexBuffer()
703 flushAlloc(*m_device, *m_logicalDevice, *m_vertexColorAlloc); in createVertexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderTests.cpp350 MovePtr<Allocation> m_vertexColorAlloc; member in vkt::MultiView::__anon28143::MultiViewRenderTestInstance
712 m_vertexColorAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *m_vertexColorBuffer), MemoryRequirement::HostVisible); in createVertexBuffer()
714 VK_CHECK(m_device->bindBufferMemory(*m_logicalDevice, *m_vertexColorBuffer, m_vertexColorAlloc->getMemory(), m_vertexColorAlloc->getOffset())); in createVertexBuffer()
715 deMemcpy(m_vertexColorAlloc->getHostPtr(), m_vertexColor.data(), static_cast<size_t>(dataSize)); in createVertexBuffer()
716 flushAlloc(*m_device, *m_logicalDevice, *m_vertexColorAlloc); in createVertexBuffer()

Completed in 15 milliseconds