Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkRenderPass.cpp147 char *hostMemory = reinterpret_cast<char *>(mem); in RenderPass() local
167 …passDepthStencilResolves = reinterpret_cast<VkSubpassDescriptionDepthStencilResolve *>(hostMemory); in RenderPass()
168 hostMemory += subpassCount * sizeof(VkSubpassDescriptionDepthStencilResolve); in RenderPass()
179 VkAttachmentReference2 *reference = reinterpret_cast<VkAttachmentReference2 *>(hostMemory); in RenderPass()
180 hostMemory += sizeof(VkAttachmentReference2); in RenderPass()
209 char *hostMemory = reinterpret_cast<char *>(*mem); in init() local
215 subpasses = reinterpret_cast<VkSubpassDescription *>(hostMemory); in init()
217 hostMemory += subpassesSize; in init()
218 uint32_t *masks = reinterpret_cast<uint32_t *>(hostMemory); in init()
219 hostMemory += subpassCount * sizeof(uint32_t); in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp196 MovePtr<ExternalHostMemory>& hostMemory) in chooseExternalMarkerMemoryType() argument
205 …if (vkd.getMemoryHostPointerPropertiesEXT(device, externalType, hostMemory->data, &props) == VK_SU… in chooseExternalMarkerMemoryType()
238 MovePtr<ExternalHostMemory>& hostMemory, in createMarkerBufferMemory() argument
253hostMemory = MovePtr<ExternalHostMemory>(new ExternalHostMemory(memReqs.size, hostProps.minImporte… in createMarkerBufferMemory()
255 …pe = chooseExternalMarkerMemoryType(vkd, device, externalType, memReqs.memoryTypeBits, hostMemory); in createMarkerBufferMemory()
267 hostMemory->data in createMarkerBufferMemory()
274 hostMemory->size, in createMarkerBufferMemory()
278 …ePtr<Allocation>(new ExternalHostAllocation(allocateMemory(vkd, device, &info), hostMemory->data)); in createMarkerBufferMemory()
294 MovePtr<ExternalHostMemory> hostMemory; in bufferMarkerSequential() local
298 …*markerBuffer, wd.allocator, MemoryRequirement::HostVisible, params.useHostPtr, hostMemory, marker… in bufferMarkerSequential()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp802 MemoryMappingRAII hostMemory (vk, vkDevice, memory, 0u, params.bufferSize, 0u); in pushData() local
803 deUint8* hostBuffer = static_cast<deUint8*>(hostMemory.ptr()); in pushData()
810 hostMemory.flush(); in pushData()
820 MemoryMappingRAII hostMemory (vk, vkDevice, memory, 0u, params.bufferSize, 0u); in checkData() local
821 deUint8* hostBuffer = static_cast<deUint8*>(hostMemory.ptr()); in checkData()
824 hostMemory.invalidate(); in checkData()