From 6e335f8ee7403a20bae3a340d37e24fc6a7ce638 Mon Sep 17 00:00:00 2001 From: Lenny Komow Date: Wed, 10 May 2017 10:06:13 -0600 Subject: loader: Add basic phys dev props emulation Add the ability for the loader to emulate the commands in VK_KHR_get_physical_device_properties2. This will only be used when using multiple physical devices where only one supportes the ext. Change-Id: I596c8ee9eea5e5136e5b478508abb21c5d8ad5a1 --- scripts/loader_extension_generator.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts/loader_extension_generator.py') diff --git a/scripts/loader_extension_generator.py b/scripts/loader_extension_generator.py index 21943315..015e774c 100644 --- a/scripts/loader_extension_generator.py +++ b/scripts/loader_extension_generator.py @@ -835,7 +835,14 @@ class LoaderExtensionOutputGenerator(OutputGenerator): # Some extensions have to be manually added. Skip those in the automatic # generation. They will be manually added later. manual_ext_commands = ['vkEnumeratePhysicalDeviceGroupsKHX', - 'vkGetPhysicalDeviceExternalImageFormatPropertiesNV'] + 'vkGetPhysicalDeviceExternalImageFormatPropertiesNV', + 'vkGetPhysicalDeviceFeatures2KHR', + 'vkGetPhysicalDeviceProperties2KHR', + 'vkGetPhysicalDeviceFormatProperties2KHR', + 'vkGetPhysicalDeviceImageFormatProperties2KHR', + 'vkGetPhysicalDeviceQueueFamilyProperties2KHR', + 'vkGetPhysicalDeviceMemoryProperties2KHR', + 'vkGetPhysicalDeviceSparseImageFormatProperties2KHR'] for ext_cmd in self.ext_commands: if (ext_cmd.ext_name in WSI_EXT_NAMES or -- cgit v1.2.3