Searched refs:mem_props (Results 1 – 6 of 6) sorted by relevance
/external/vulkan-validation-layers/tests/ |
D | vktestbinding.cpp | 455 VkMemoryPropertyFlags mem_props) { in get_resource_alloc_info() argument 460 … if (mem_props == (mem_props & dev_mem_props.memoryTypes[mem_type_index].propertyFlags)) break; in get_resource_alloc_info() 465 EXPECT(dev.phy().set_memory_type(reqs.memoryTypeBits, &info, mem_props)); in get_resource_alloc_info() 507 … Buffer::init(const Device &dev, const VkBufferCreateInfo &info, VkMemoryPropertyFlags mem_props) { in NON_DISPATCHABLE_HANDLE_DTOR() 510 …ernal_mem_.init(dev, DeviceMemory::get_resource_alloc_info(dev, memory_requirements(), mem_props)); in NON_DISPATCHABLE_HANDLE_DTOR() 539 void Image::init(const Device &dev, const VkImageCreateInfo &info, VkMemoryPropertyFlags mem_props)… in NON_DISPATCHABLE_HANDLE_DTOR() 543 …ernal_mem_.init(dev, DeviceMemory::get_resource_alloc_info(dev, memory_requirements(), mem_props)); in NON_DISPATCHABLE_HANDLE_DTOR()
|
D | vktestbinding.h | 321 VkMemoryPropertyFlags mem_props); 388 void init(const Device &dev, const VkBufferCreateInfo &info, VkMemoryPropertyFlags mem_props); 390 void init(const Device &dev, VkDeviceSize size, VkMemoryPropertyFlags mem_props, 392 init(dev, create_info(size, usage, &queue_families), mem_props); 478 void init(const Device &dev, const VkImageCreateInfo &info, VkMemoryPropertyFlags mem_props);
|
D | vkpositivelayertests.cpp | 763 …VkMemoryPropertyFlags mem_props = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CO… in TEST_F() local 764 buffer.init(*m_device, bci, mem_props); in TEST_F() 5604 …VkMemoryPropertyFlags mem_props = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CO… in TEST_F() local 5605 buffer0.init(*m_device, bci, mem_props); in TEST_F() 7131 VkMemoryPropertyFlagBits mem_props = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in TEST_F() local 7134 ((phys_mem_props.memoryTypes[type].propertyFlags & mem_props) == mem_props)) { in TEST_F() 7193 mem_props = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in TEST_F() 7202 …(phys_mem_props2.memoryProperties.memoryTypes[mem_type].propertyFlags & mem_props) == mem_props)) { in TEST_F()
|
D | vklayertests_descriptor_renderpass_framebuffer.cpp | 82 …VkMemoryPropertyFlags mem_props = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CO… in TEST_F() local 83 buffer0.init(*m_device, bci, mem_props); in TEST_F() 88 buffer1.init(*m_device, bci, mem_props); in TEST_F()
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_screen.c | 85 for (uint32_t i = 0; i < screen->info.mem_props.memoryHeapCount; ++i) { in get_video_mem() 86 if (screen->info.mem_props.memoryHeaps[i].flags & in get_video_mem() 88 size += screen->info.mem_props.memoryHeaps[i].size; in get_video_mem()
|
D | zink_resource.c | 65 if ((screen->info.mem_props.memoryTypes[i].propertyFlags & props) == props) { in get_memory_type_index()
|