Home
last modified time | relevance | path

Searched refs:num_instance_layers (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp204 uint32_t num_instance_layers = 0; in EnumerateLayers() local
206 VkResult result = enumerate_instance_layers(&num_instance_layers, nullptr); in EnumerateLayers()
207 if (result != VK_SUCCESS || !num_instance_layers) { in EnumerateLayers()
228 … auto properties = std::make_unique<VkLayerProperties[]>(num_instance_layers + num_device_layers); in EnumerateLayers()
231 properties.get() + num_instance_layers); in EnumerateLayers()
242 instance_layers.reserve(prev_num_instance_layers + num_instance_layers); in EnumerateLayers()
243 for (size_t i = 0; i < num_instance_layers; i++) { in EnumerateLayers()
275 const auto& dev_props = properties[num_instance_layers + j]; in EnumerateLayers()