Lines Matching refs:mem_reqs
1108 VkMemoryRequirements mem_reqs; in demo_prepare_depth() local
1118 vkGetImageMemoryRequirements(demo->device, demo->depth.image, &mem_reqs); in demo_prepare_depth()
1123 demo->depth.mem_alloc.allocationSize = mem_reqs.size; in demo_prepare_depth()
1126 pass = memory_type_from_properties(demo, mem_reqs.memoryTypeBits, in demo_prepare_depth()
1261 VkMemoryRequirements mem_reqs; in demo_prepare_texture_image() local
1267 vkGetImageMemoryRequirements(demo->device, tex_obj->image, &mem_reqs); in demo_prepare_texture_image()
1271 tex_obj->mem_alloc.allocationSize = mem_reqs.size; in demo_prepare_texture_image()
1274 pass = memory_type_from_properties(demo, mem_reqs.memoryTypeBits, in demo_prepare_texture_image()
1457 VkMemoryRequirements mem_reqs; in demo_prepare_cube_data_buffer() local
1490 &mem_reqs); in demo_prepare_cube_data_buffer()
1494 demo->uniform_data.mem_alloc.allocationSize = mem_reqs.size; in demo_prepare_cube_data_buffer()
1498 demo, mem_reqs.memoryTypeBits, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in demo_prepare_cube_data_buffer()