Home
last modified time | relevance | path

Searched refs:hostMemory (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Vulkan/
DVkRenderPass.cpp26 char* hostMemory = reinterpret_cast<char*>(mem); in RenderPass() local
32 subpasses = reinterpret_cast<VkSubpassDescription*>(hostMemory); in RenderPass()
34 hostMemory += subpassesSize; in RenderPass()
39 attachments = reinterpret_cast<VkAttachmentDescription*>(hostMemory); in RenderPass()
41 hostMemory += attachmentSize; in RenderPass()
57 subpasses[i].pInputAttachments = reinterpret_cast<VkAttachmentReference*>(hostMemory); in RenderPass()
60 hostMemory += inputAttachmentsSize; in RenderPass()
66 subpasses[i].pColorAttachments = reinterpret_cast<VkAttachmentReference*>(hostMemory); in RenderPass()
69 hostMemory += colorAttachmentsSize; in RenderPass()
73 subpasses[i].pResolveAttachments = reinterpret_cast<VkAttachmentReference*>(hostMemory); in RenderPass()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp781 MemoryMappingRAII hostMemory (vk, vkDevice, memory, 0u, params.bufferSize, 0u); in pushData() local
782 deUint8* hostBuffer = static_cast<deUint8*>(hostMemory.ptr()); in pushData()
789 hostMemory.flush(); in pushData()
799 MemoryMappingRAII hostMemory (vk, vkDevice, memory, 0u, params.bufferSize, 0u); in checkData() local
800 deUint8* hostBuffer = static_cast<deUint8*>(hostMemory.ptr()); in checkData()
803 hostMemory.invalidate(); in checkData()