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.cpp197 uint32_t num_instance_layers = 0; in EnumerateLayers() local
199 VkResult result = enumerate_instance_layers(&num_instance_layers, nullptr); in EnumerateLayers()
200 if (result != VK_SUCCESS || !num_instance_layers) { in EnumerateLayers()
221 std::vector<VkLayerProperties> properties(num_instance_layers + num_device_layers); in EnumerateLayers()
222 result = enumerate_instance_layers(&num_instance_layers, properties.data()); in EnumerateLayers()
230 &properties[num_instance_layers]); in EnumerateLayers()
241 instance_layers.reserve(prev_num_instance_layers + num_instance_layers); in EnumerateLayers()
242 for (size_t i = 0; i < num_instance_layers; i++) { in EnumerateLayers()
274 const auto& dev_props = properties[num_instance_layers + j]; in EnumerateLayers()