Lines Matching defs:device

130 							 VkDevice						device,
149 Move<VkBuffer> buffer (createBuffer(vkd, device, &bufferInfo));
150 MovePtr<Allocation> allocation (allocator.allocate(getBufferMemoryRequirements(vkd, device, *buffer),
153 VK_CHECK(vkd.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset()));
161 VkDevice device,
167 allocateStagingBuffers(vkd, device, allocator, imageData, buffers, allocations);
172 flushMappedMemoryRange(vkd, device, (*allocations)[planeNdx]->getMemory(), 0u, VK_WHOLE_SIZE);
178 VkDevice device,
183 invalidateMappedMemoryRange(vkd, device, allocations[planeNdx]->getMemory(), 0u, VK_WHOLE_SIZE);
349 VkDevice device,
362 bindImagePlanesMemory(vkd, device, image, numPlanes, allocations, allocator, requirement);
366 const VkMemoryRequirements reqs = getImageMemoryRequirements(vkd, device, image);
370 VK_CHECK(vkd.bindImageMemory(device, image, allocations.back()->getMemory(), allocations.back()->getOffset()));
377 VkDevice device,
386 const VkQueue queue = getDeviceQueue(vkd, device, queueFamilyNdx, 0u);
387 const Unique<VkCommandPool> cmdPool (createCommandPool(vkd, device, (VkCommandPoolCreateFlags)0, queueFamilyNdx));
388 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
394 allocateAndWriteStagingBuffers(vkd, device, allocator, imageData, &stagingBuffers, &stagingMemory);
475 submitCommandsAndWait(vkd, device, queue, *cmdBuffer);
479 vk::VkDevice device,
488 const VkQueue queue = getDeviceQueue(vkd, device, queueFamilyNdx, 0u);
489 const Unique<VkCommandPool> cmdPool (createCommandPool(vkd, device, (VkCommandPoolCreateFlags)0, queueFamilyNdx));
490 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
511 vkd.getImageSubresourceLayout(device, image, &subresource, &layout);
521 flushMappedMemoryRange(vkd, device, allocation->getMemory(), 0u, VK_WHOLE_SIZE);
555 submitCommandsAndWait(vkd, device, queue, *cmdBuffer);
559 VkDevice device,
568 const VkQueue queue = getDeviceQueue(vkd, device, queueFamilyNdx, 0u);
569 const Unique<VkCommandPool> cmdPool (createCommandPool(vkd, device, (VkCommandPoolCreateFlags)0, queueFamilyNdx));
570 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
576 allocateStagingBuffers(vkd, device, allocator, *imageData, &stagingBuffers, &stagingMemory);
661 submitCommandsAndWait(vkd, device, queue, *cmdBuffer);
663 readStagingBuffers(imageData, vkd, device, stagingMemory);
667 vk::VkDevice device,
675 const VkQueue queue = getDeviceQueue(vkd, device, queueFamilyNdx, 0u);
676 const Unique<VkCommandPool> cmdPool (createCommandPool(vkd, device, (VkCommandPoolCreateFlags)0, queueFamilyNdx));
677 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
711 submitCommandsAndWait(vkd, device, queue, *cmdBuffer);
731 vkd.getImageSubresourceLayout(device, image, &subresource, &layout);
733 invalidateMappedMemoryRange(vkd, device, allocation->getMemory(), 0u, VK_WHOLE_SIZE);