Home
last modified time | relevance | path

Searched refs:memoryAllocateInfo (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
H A DMemoryServiceDmaBuf.cpp205 VkMemoryAllocateInfo memoryAllocateInfo; in ImportMemory()
206 memoryAllocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImportMemory()
207 memoryAllocateInfo.pNext = &importMemoryFdInfo; in ImportMemory()
208 memoryAllocateInfo.allocationSize = importParams.allocationSize; in ImportMemory()
209 memoryAllocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
213 CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &memoryAllocateInfo, in ImportMemory()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DDrawTester.cpp417 vk::MemoryAllocateInfo memoryAllocateInfo; in addVertexBuffer() local
419 memoryAllocateInfo.allocationSize = memoryRequirements.size; in addVertexBuffer()
420 memoryAllocateInfo.memoryTypeIndex = Util::getMemoryTypeIndex(physicalDevice, memoryRequirements.memoryTypeBits, vk::MemoryPropertyFlagBits::eHostVisible | vk::MemoryPropertyFlagBits::eHostCoherent); in addVertexBuffer()
421 vertices.memory = device.allocateMemory(memoryAllocateInfo); in addVertexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryExternalMemoryHostTests.cpp250 VkMemoryAllocateInfo memoryAllocateInfo; in allocateMemoryFromHostPointer() local
251 memoryAllocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in allocateMemoryFromHostPointer()
252 memoryAllocateInfo.pNext = &importMemoryHostPointerInfo; in allocateMemoryFromHostPointer()
253 memoryAllocateInfo.allocationSize = m_allocationSize; in allocateMemoryFromHostPointer()
254 memoryAllocateInfo.memoryTypeIndex = memoryTypeIndex; in allocateMemoryFromHostPointer()
256 return allocateMemory(m_vkd, m_device, &memoryAllocateInfo, DE_NULL); in allocateMemoryFromHostPointer()
H A DvktMemoryDeviceMemoryReportTests.cpp266 const VkMemoryAllocateInfo memoryAllocateInfo =
274 return allocateMemory(env.vkd, env.device, &memoryAllocateInfo);
1819 const VkMemoryAllocateInfo memoryAllocateInfo = in vkDeviceMemoryAllocateAndFreeTest() local
1827 result = vkd.allocateMemory(*device, &memoryAllocateInfo, (const VkAllocationCallbacks*)DE_NULL, &memory); in vkDeviceMemoryAllocateAndFreeTest()
H A DvktMemoryAddressBindingTests.cpp288 const VkMemoryAllocateInfo memoryAllocateInfo =
296 return allocateMemory(env.vkd, env.device, &memoryAllocateInfo);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryExternalMemoryHostTests.cpp250 VkMemoryAllocateInfo memoryAllocateInfo; in allocateMemoryFromHostPointer() local
251 memoryAllocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in allocateMemoryFromHostPointer()
252 memoryAllocateInfo.pNext = &importMemoryHostPointerInfo; in allocateMemoryFromHostPointer()
253 memoryAllocateInfo.allocationSize = m_allocationSize; in allocateMemoryFromHostPointer()
254 memoryAllocateInfo.memoryTypeIndex = memoryTypeIndex; in allocateMemoryFromHostPointer()
256 return allocateMemory(m_vkd, m_device, &memoryAllocateInfo, DE_NULL); in allocateMemoryFromHostPointer()
H A DvktMemoryDeviceMemoryReportTests.cpp260 const VkMemoryAllocateInfo memoryAllocateInfo =
268 return allocateMemory(env.vkd, env.device, &memoryAllocateInfo);
1771 const VkMemoryAllocateInfo memoryAllocateInfo = in vkDeviceMemoryAllocateAndFreeTest() local
1779 result = vkd.allocateMemory(*device, &memoryAllocateInfo, (const VkAllocationCallbacks*)DE_NULL, &memory); in vkDeviceMemoryAllocateAndFreeTest()
1851 VkMemoryAllocateInfo memoryAllocateInfo in vkDeviceMemoryAllocationFailedTest()
1860 VkResult result = vkd.allocateMemory(*device, &memoryAllocateInfo, (const VkAllocationCallbacks*)DE_NULL, &memory1); in vkDeviceMemoryAllocationFailedTest()
1865 memoryAllocateInfo.allocationSize = testSize; in vkDeviceMemoryAllocationFailedTest()
1866 result = vkd.allocateMemory(*device, &memoryAllocateInfo, (const VkAllocationCallbacks*)DE_NULL, &memory2); in vkDeviceMemoryAllocationFailedTest()
H A DvktMemoryAddressBindingTests.cpp249 const VkMemoryAllocateInfo memoryAllocateInfo =
257 return allocateMemory(env.vkd, env.device, &memoryAllocateInfo);
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DVulkanHelper.cpp575 VkMemoryAllocateInfo memoryAllocateInfo = {
583 result = vkAllocateMemory(mDevice, &memoryAllocateInfo, nullptr, &deviceMemory);
975 VkMemoryAllocateInfo memoryAllocateInfo = {
983 result = vkAllocateMemory(mDevice, &memoryAllocateInfo, nullptr, &deviceMemory);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferViewCreateTests.cpp310 VkMemoryAllocateInfo memoryAllocateInfo = in createTestBuffer() local
318 result = vk.allocateMemory(vkDevice, &memoryAllocateInfo, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createTestBuffer()
H A DvktApiBufferTests.cpp531 VkMemoryAllocateInfo memoryAllocateInfo = in bufferCreateAndAllocTest() local
539 result = vk.allocateMemory(vkDevice, &memoryAllocateInfo, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in bufferCreateAndAllocTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferViewCreateTests.cpp311 VkMemoryAllocateInfo memoryAllocateInfo = in createTestBuffer() local
319 result = vk.allocateMemory(vkDevice, &memoryAllocateInfo, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createTestBuffer()
H A DvktApiBufferTests.cpp533 VkMemoryAllocateInfo memoryAllocateInfo = in bufferCreateAndAllocTest() local
541 result = vk.allocateMemory(vkDevice, &memoryAllocateInfo, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in bufferCreateAndAllocTest()
/third_party/vulkan-headers/include/vulkan/
H A Dvulkan_hash.hpp6635 std::size_t operator()( VULKAN_HPP_NAMESPACE::MemoryAllocateInfo const & memoryAllocateInfo ) const VULKAN_HPP_NOEXCEPT
6638 VULKAN_HPP_HASH_COMBINE( seed, memoryAllocateInfo.sType );
6639 VULKAN_HPP_HASH_COMBINE( seed, memoryAllocateInfo.pNext );
6640 VULKAN_HPP_HASH_COMBINE( seed, memoryAllocateInfo.allocationSize );
6641 VULKAN_HPP_HASH_COMBINE( seed, memoryAllocateInfo.memoryTypeIndex );

Completed in 42 milliseconds