Lines Matching refs:extensions
35 std::vector<VkExtensionProperties>* extensions) { in EnumerateExtensions() argument
41 extensions->resize(count); in EnumerateExtensions()
43 extensions->data()); in EnumerateExtensions()
51 const char* const* extensions) { in HasExtension() argument
52 return std::find_if(extensions, extensions + count, in HasExtension()
55 }) != extensions + count; in HasExtension()
59 const std::vector<VkExtensionProperties>& extensions) { in HasExtension() argument
60 return std::find_if(extensions.cbegin(), extensions.cend(), in HasExtension()
64 }) != extensions.cend(); in HasExtension()
93 device.extensions.resize(extension_count); in VkJsonGetDevice()
95 physical_device, nullptr, &extension_count, device.extensions.data()); in VkJsonGetDevice()
113 if (HasExtension("VK_KHR_driver_properties", device.extensions)) { in VkJsonGetDevice()
130 if (HasExtension("VK_KHR_variable_pointers", device.extensions)) { in VkJsonGetDevice()
336 &instance.layers.back().extensions)) in VkJsonGetInstance()
341 if (!EnumerateExtensions(nullptr, &instance.extensions)) in VkJsonGetInstance()
346 if (HasExtension(extension, instance.extensions)) in VkJsonGetInstance()