Lines Matching refs:extensions

42     std::vector<VkExtensionProperties> extensions;  member
47 std::vector<VkExtensionProperties> extensions; member
80 bool HasExtension(const std::vector<VkExtensionProperties>& extensions, in HasExtension() argument
82 return std::find_if(extensions.cbegin(), extensions.cend(), in HasExtension()
85 }) != extensions.end(); in HasExtension()
90 std::vector<VkExtensionProperties>* extensions) { in EnumerateInstanceExtensions() argument
98 extensions->resize(count); in EnumerateInstanceExtensions()
100 extensions->data()); in EnumerateInstanceExtensions()
108 std::vector<VkExtensionProperties>* extensions) { in EnumerateDeviceExtensions() argument
116 extensions->resize(count); in EnumerateDeviceExtensions()
118 extensions->data()); in EnumerateDeviceExtensions()
151 EnumerateDeviceExtensions(gpu, nullptr, &info.extensions); in GatherGpuInfo()
160 const char* extensions[kDesiredExtensions.size()]; in GatherGpuInfo() local
163 bool available = HasExtension(info.extensions, desired_ext); in GatherGpuInfo()
170 extensions[num_extensions++] = desired_ext; in GatherGpuInfo()
201 .ppEnabledExtensionNames = extensions, in GatherGpuInfo()
226 EnumerateInstanceExtensions(nullptr, &info->extensions); in GatherInfo()
236 extensions[sizeof(kDesiredExtensions) / sizeof(kDesiredExtensions[0])]; in GatherInfo() local
239 bool available = HasExtension(info->extensions, desired_ext); in GatherInfo()
247 extensions[num_extensions++] = desired_ext; in GatherInfo()
278 .ppEnabledExtensionNames = extensions, in GatherInfo()
337 void PrintExtensions(const std::vector<VkExtensionProperties>& extensions, in PrintExtensions() argument
340 for (const auto& e : extensions) in PrintExtensions()
346 const std::vector<std::vector<VkExtensionProperties>> extensions, in PrintLayers() argument
357 if (options.layer_extensions && !extensions[i].empty()) { in PrintLayers()
358 if (!extensions[i].empty()) { in PrintLayers()
360 extensions[i].size()); in PrintLayers()
361 PrintExtensions(extensions[i], options, indent + 2); in PrintLayers()
560 printf("%sExtensions [%zu]:\n", Indent(indent + 1), info.extensions.size()); in PrintGpuInfo()
561 if (!info.extensions.empty()) in PrintGpuInfo()
562 PrintExtensions(info.extensions, options, indent + 2); in PrintGpuInfo()
573 info.extensions.size()); in PrintInfo()
574 PrintExtensions(info.extensions, options, indent + 1); in PrintInfo()