Searched refs:mem_reqs (Results 1 – 4 of 4) sorted by relevance
/external/vulkan-validation-layers/layers/ |
D | gpu_validation.cpp | 146 VkMemoryRequirements mem_reqs = {}; in AllocMemoryChunk() local 161 dispatch_table->GetBufferMemoryRequirements(dev_data_->GetDevice(), buffer, &mem_reqs); in AllocMemoryChunk() 165 mem_alloc.allocationSize = mem_reqs.size; in AllocMemoryChunk() 166 pass = MemoryTypeFromProperties(mem_reqs.memoryTypeBits, in AllocMemoryChunk()
|
D | core_validation.h | 446 … VkDeviceSize mem_offset, VkMemoryRequirements mem_reqs, bool is_linear, 449 VkMemoryRequirements mem_reqs, bool is_linear); 451 … VkDeviceSize mem_offset, VkMemoryRequirements mem_reqs, const char* api_name); 453 VkMemoryRequirements mem_reqs);
|
D | core_validation.cpp | 4294 … VkDeviceSize mem_offset, VkMemoryRequirements mem_reqs, bool is_linear, in ValidateInsertImageMemoryRange() argument 4296 …nsertMemoryRange(dev_data, HandleToUint64(image), mem_info, mem_offset, mem_reqs, true, is_linear,… in ValidateInsertImageMemoryRange() 4299 … VkDeviceSize mem_offset, VkMemoryRequirements mem_reqs, bool is_linear) { in InsertImageMemoryRange() argument 4300 …InsertMemoryRange(dev_data, HandleToUint64(image), mem_info, mem_offset, mem_reqs, true, is_linear… in InsertImageMemoryRange() 4304 … VkDeviceSize mem_offset, VkMemoryRequirements mem_reqs, const char *api_name) { in ValidateInsertBufferMemoryRange() argument 4305 …sertMemoryRange(dev_data, HandleToUint64(buffer), mem_info, mem_offset, mem_reqs, false, true, api… in ValidateInsertBufferMemoryRange() 4308 VkDeviceSize mem_offset, VkMemoryRequirements mem_reqs) { in InsertBufferMemoryRange() argument 4309 … InsertMemoryRange(dev_data, HandleToUint64(buffer), mem_info, mem_offset, mem_reqs, false, true); in InsertBufferMemoryRange()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 2674 VkMemoryRequirements mem_reqs; in TEST_F() local 2690 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F() 2699 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F() 2714 err = vkMapMemory(m_device->device(), mem, 0, mem_reqs.size, 0, (void **)&pData); in TEST_F() 2718 err = vkMapMemory(m_device->device(), mem, 0, mem_reqs.size, 0, (void **)&pData); in TEST_F() 2791 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F() 2849 VkMemoryRequirements mem_reqs; in TEST_F() local 2882 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F() 2884 mem_alloc.allocationSize = mem_reqs.size; in TEST_F() 2885 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F() [all …]
|