Lines Matching refs:alloc
149 const Allocation& alloc = m_vertexBuffer->getAllocation();
151 deMemcpy(alloc.getHostPtr(), &m_vertexData[0], static_cast<std::size_t>(vertexDataSizeBytes));
152 flushAlloc(vk, device, alloc);
164 const Allocation& alloc = m_indexBuffer->getAllocation();
165 deUint32* const pData = static_cast<deUint32*>(alloc.getHostPtr());
170 flushAlloc(vk, device, alloc);
239 const Allocation& alloc = hostBuffer.getAllocation();
243 static_cast<deUint8*>(alloc.getHostPtr()), // const deUint8* data;
246 invalidateAlloc(vk, device, alloc);
255 const Allocation& alloc = hostBuffer.getAllocation();
257 deMemcpy(alloc.getHostPtr(), data.data, data.size);
258 flushAlloc(vk, device, alloc);
649 const Allocation& alloc = m_hostBuffer->getAllocation();
652 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_resource.getBuffer().size));
654 fillPattern(alloc.getHostPtr(), m_resource.getBuffer().size);
656 flushAlloc(vk, device, alloc);
907 const Allocation& alloc = m_hostBuffer->getAllocation();
909 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_bufferSize));
911 fillPattern(alloc.getHostPtr(), m_bufferSize);
912 flushAlloc(vk, device, alloc);
1624 const Allocation& alloc = m_indirectBuffer->getAllocation();
1625 VkDispatchIndirectCommand* const pIndirectCommand = static_cast<VkDispatchIndirectCommand*>(alloc.getHostPtr());
1631 flushAlloc(vk, device, alloc);
1693 const Allocation& alloc = m_hostBuffer->getAllocation();
1695 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_resource.getBuffer().size));
1697 fillPattern(alloc.getHostPtr(), m_resource.getBuffer().size);
1698 flushAlloc(vk, device, alloc);
1914 const Allocation& alloc = m_hostBuffer->getAllocation();
1916 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_hostBufferSizeBytes));
1918 fillPattern(alloc.getHostPtr(), m_hostBufferSizeBytes);
1919 flushAlloc(vk, device, alloc);
2984 const Allocation& alloc = m_hostBuffer->getAllocation();
2985 fillPattern(alloc.getHostPtr(), m_hostBufferSizeBytes);
2986 flushAlloc(vk, device, alloc);
3173 const Allocation& alloc = m_hostBuffer->getAllocation();
3174 fillPattern(alloc.getHostPtr(), m_bufferSize);
3175 flushAlloc(vk, device, alloc);
3573 const Allocation& alloc = m_hostBuffer->getAllocation();
3574 fillPattern(alloc.getHostPtr(), m_resource.getBuffer().size);
3575 flushAlloc(vk, device, alloc);
3680 const Allocation& alloc = m_hostBuffer->getAllocation();
3681 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_bufferSize));
3682 flushAlloc(vk, device, alloc);
4060 const Allocation& alloc = m_indirectBuffer->getAllocation();
4061 VkDrawIndirectCommand* const pIndirectCommand = static_cast<VkDrawIndirectCommand*>(alloc.getHostPtr());
4068 flushAlloc(vk, device, alloc);
4075 const Allocation& alloc = m_indirectBuffer->getAllocation();
4076 VkDrawIndexedIndirectCommand* const pIndirectCommand = static_cast<VkDrawIndexedIndirectCommand*>(alloc.getHostPtr());
4084 flushAlloc(vk, device, alloc);
4682 const Allocation& alloc = m_hostBuffer->getAllocation();
4683 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_hostBufferSizeBytes));
4684 flushAlloc(vk, device, alloc);
5047 const Allocation& alloc = m_outputBuffer->getAllocation();
5048 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(dataSizeBytes));
5049 flushAlloc(vk, device, alloc);
5060 const Allocation& alloc = m_inputBuffer->getAllocation();
5061 fillPattern(alloc.getHostPtr(), dataSizeBytes, true);
5062 flushAlloc(vk, device, alloc);