Home
last modified time | relevance | path

Searched refs:allocInfo (Results 1 - 25 of 82) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DBuffer.cpp30 vk::MemoryAllocateInfo allocInfo{}; in Buffer()
31 allocInfo.allocationSize = memRequirements.size; in Buffer()
32 allocInfo.memoryTypeIndex = 0; // TODO: getMemoryTypeIndex(memRequirements.memoryTypeBits, vk::MemoryPropertyFlagBits::eHostVisible | vk::MemoryPropertyFlagBits::eHostCoherent); in Buffer()
34 bufferMemory = device.allocateMemory(allocInfo); in Buffer()
H A DUtil.cpp42 vk::CommandBufferAllocateInfo allocInfo{}; in beginSingleTimeCommands()
43 allocInfo.level = vk::CommandBufferLevel::ePrimary; in beginSingleTimeCommands()
44 allocInfo.commandPool = commandPool; in beginSingleTimeCommands()
45 allocInfo.commandBufferCount = 1; in beginSingleTimeCommands()
47 auto commandBuffer = device.allocateCommandBuffers(allocInfo); in beginSingleTimeCommands()
H A DDrawTester.cpp347 vk::DescriptorSetAllocateInfo allocInfo; in createCommandBuffers() local
348 allocInfo.descriptorPool = descriptorPool; in createCommandBuffers()
349 allocInfo.descriptorSetCount = 1; in createCommandBuffers()
350 allocInfo.pSetLayouts = layouts.data(); in createCommandBuffers()
352 descriptorSets = device.allocateDescriptorSets(allocInfo); in createCommandBuffers()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DVulkanSecondaryCommandBuffer.cpp64 VkCommandBufferAllocateInfo allocInfo = {}; in initialize() local
65 allocInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in initialize()
66 allocInfo.level = VK_COMMAND_BUFFER_LEVEL_SECONDARY; in initialize()
67 allocInfo.commandBufferCount = 1; in initialize()
68 allocInfo.commandPool = pool->getHandle(); in initialize()
70 ANGLE_VK_TRY(context, init(device, allocInfo)); in initialize()
H A Dvk_utils.cpp97 VkMemoryAllocateInfo allocInfo = {}; local
98 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO;
99 allocInfo.pNext = extraAllocationInfo;
100 allocInfo.memoryTypeIndex = memoryTypeIndex;
101 allocInfo.allocationSize = memoryRequirements.size;
103 ANGLE_VK_TRY(context, deviceMemoryOut->allocate(device, allocInfo));
/third_party/skia/third_party/externals/swiftshader/src/WSI/
H A DVkSwapchainKHR.cpp125 VkMemoryAllocateInfo allocInfo = {}; in createImages() local
126 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in createImages()
127 allocInfo.allocationSize = 0; in createImages()
128 allocInfo.memoryTypeIndex = 0; in createImages()
141 allocInfo.allocationSize = currentImage.getImage()->getMemoryRequirements().size; in createImages()
143 status = currentImage.allocateAndBindImageMemory(device, allocInfo); in createImages()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkMemUtil.cpp205 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignment) in allocate() argument
212 VkMemoryAllocateInfo info = allocInfo; in allocate()
233 VkMemoryAllocateInfo allocInfo = in allocate() local
256 allocInfo.pNext = &allocFlagsInfo; in allocate()
258 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate()
263 DE_ASSERT(isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)); in allocate()
280 const VkMemoryAllocateInfo allocInfo = in allocateExtended() local
287 Move<VkDeviceMemory> mem = allocateMemory(vkd, device, &allocInfo); in allocateExtended()
292 DE_ASSERT(isHostVisibleMemory(memoryProperties, allocInfo.memoryTypeIndex)); in allocateExtended()
293 hostPtr = MovePtr<HostPtr>(new HostPtr(vkd, device, *mem, 0u, allocInfo in allocateExtended()
[all...]
H A DvkMemUtil.hpp136 virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignment) = 0;
153 de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignment);
H A DvkRefUtil.cpp188 const VkCommandBufferAllocateInfo allocInfo = in allocateCommandBuffer() local
198 return allocateCommandBuffer(vk, device, &allocInfo); in allocateCommandBuffer()
/third_party/skia/tools/gpu/vk/
H A DVkYcbcrSamplerHelper.cpp111 VkMemoryAllocateInfo allocInfo = {}; in createBackendTexture() local
112 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in createBackendTexture()
113 allocInfo.allocationSize = requirements.size; in createBackendTexture()
114 allocInfo.memoryTypeIndex = memoryTypeIndex; in createBackendTexture()
117 GR_VK_CALL_RESULT(vkGpu, result, AllocateMemory(vkGpu->device(), &allocInfo, in createBackendTexture()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktGlobalPriorityQueueUtils.cpp273 VkMemoryAllocateInfo allocInfo{}; in BufferWithMemory()
274 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in BufferWithMemory()
275 allocInfo.pNext = nullptr; in BufferWithMemory()
276 allocInfo.allocationSize = m_requirements.alignment; in BufferWithMemory()
277 allocInfo.memoryTypeIndex = memoryTypeIndex; in BufferWithMemory()
279 de::MovePtr<Allocation> allocation = allocator.allocate(allocInfo, m_requirements.alignment); in BufferWithMemory()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktGlobalPriorityQueueUtils.cpp381 VkMemoryAllocateInfo allocInfo{}; in BufferWithMemory()
382 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in BufferWithMemory()
383 allocInfo.pNext = nullptr; in BufferWithMemory()
384 allocInfo.allocationSize = m_requirements.alignment; in BufferWithMemory()
385 allocInfo.memoryTypeIndex = memoryTypeIndex; in BufferWithMemory()
387 de::MovePtr<Allocation> allocation = allocator.allocate(allocInfo, alignment /*unreferenced parameter*/); in BufferWithMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
H A DvktDeviceGroupRendering.cpp504 VkMemoryAllocateInfo allocInfo = in iterate() local
552 allocInfo.allocationSize = memReqs.size; in iterate()
553 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
554 vertexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
624 allocInfo.allocationSize = memReqs.size; in iterate()
625 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
626 indexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
696 allocInfo.allocationSize = memReqs.size; in iterate()
697 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
698 uniformBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/device_group/
H A DvktDeviceGroupRendering.cpp504 VkMemoryAllocateInfo allocInfo = in iterate() local
552 allocInfo.allocationSize = memReqs.size; in iterate()
553 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
554 vertexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
624 allocInfo.allocationSize = memReqs.size; in iterate()
625 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
626 indexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
696 allocInfo.allocationSize = memReqs.size; in iterate()
697 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
698 uniformBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferComputeInstance.cpp170 const vk::VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
178 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo); in createDescriptorSet()
211 const vk::VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
219 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo); in createDescriptorSet()
H A DvktApiDescriptorSetTests.cpp473 const VkDescriptorSetAllocateInfo allocInfo = in descriptorSetLayoutBindingOrderingTest() local
482 VK_CHECK(vk.allocateDescriptorSets(device, &allocInfo, &descriptorSet)); in descriptorSetLayoutBindingOrderingTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferComputeInstance.cpp170 const vk::VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
178 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo); in createDescriptorSet()
211 const vk::VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
219 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo); in createDescriptorSet()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
H A DvktPostmortemDeviceLossTests.cpp144 const VkDescriptorSetAllocateInfo allocInfo in iterate()
152 auto descriptorSet = allocateDescriptorSet(deviceDriver, *logicalDevice, &allocInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOCornerCase.cpp198 const vk::VkDescriptorSetAllocateInfo allocInfo = in iterate() local
207 const vk::Unique<vk::VkDescriptorSet> descriptorSet (allocateDescriptorSet(vk, device, &allocInfo)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
H A DvktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp98 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
107 Move<VkDescriptorSet> descriptorSet = allocateDescriptorSet(vk, device, &allocInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
H A DvktSSBOCornerCase.cpp198 const vk::VkDescriptorSetAllocateInfo allocInfo = in iterate() local
207 const vk::Unique<vk::VkDescriptorSet> descriptorSet (allocateDescriptorSet(vk, device, &allocInfo)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
H A DvktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp98 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
107 Move<VkDescriptorSet> descriptorSet = allocateDescriptorSet(vk, device, &allocInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesTestsUtil.cpp839 const VkMemoryAllocateInfo allocInfo = in makeSparseImageMemoryBind() local
848 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind()
869 const VkMemoryAllocateInfo allocInfo = in makeSparseMemoryBind() local
878 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesTestsUtil.cpp836 const VkMemoryAllocateInfo allocInfo = in makeSparseImageMemoryBind() local
845 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind()
866 const VkMemoryAllocateInfo allocInfo = in makeSparseMemoryBind() local
875 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
H A DvktMemoryModelSharedLayoutCase.cpp400 const vk::VkDescriptorSetAllocateInfo allocInfo = in iterate() local
409 const vk::Unique<vk::VkDescriptorSet> descriptorSet (allocateDescriptorSet(vk, device, &allocInfo)); in iterate()

Completed in 21 milliseconds

1234