Hello community, here is the log from the commit of package vulkan-loader for openSUSE:Factory checked in at 2020-02-06 13:18:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vulkan-loader (Old) and /work/SRC/openSUSE:Factory/.vulkan-loader.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vulkan-loader" Thu Feb 6 13:18:57 2020 rev:18 rq:769796 version:1.2.132 Changes: -------- --- /work/SRC/openSUSE:Factory/vulkan-loader/vulkan-loader.changes 2020-01-24 13:11:12.113434008 +0100 +++ /work/SRC/openSUSE:Factory/.vulkan-loader.new.26092/vulkan-loader.changes 2020-02-06 13:18:59.120665180 +0100 @@ -1,0 +2,7 @@ +Mon Feb 3 12:37:52 UTC 2020 - Antonio Larrosa <alarr...@suse.com> + +- Update to release 1.2.132 + * Improve 1.2 promoted extension fix + * Fix handling of promoted device extensions + +------------------------------------------------------------------- Old: ---- v1.2.131.tar.gz New: ---- v1.2.132.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vulkan-loader.spec ++++++ --- /var/tmp/diff_new_pack.WEfpHx/_old 2020-02-06 13:19:01.156666179 +0100 +++ /var/tmp/diff_new_pack.WEfpHx/_new 2020-02-06 13:19:01.156666179 +0100 @@ -18,7 +18,7 @@ %define lname libvulkan1 Name: vulkan-loader -Version: 1.2.131 +Version: 1.2.132 Release: 0 Summary: Reference ICD loader for Vulkan License: Apache-2.0 ++++++ v1.2.131.tar.gz -> v1.2.132.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vulkan-Loader-1.2.131/build-gn/secondary/build_overrides/vulkan_headers.gni new/Vulkan-Loader-1.2.132/build-gn/secondary/build_overrides/vulkan_headers.gni --- old/Vulkan-Loader-1.2.131/build-gn/secondary/build_overrides/vulkan_headers.gni 1970-01-01 01:00:00.000000000 +0100 +++ new/Vulkan-Loader-1.2.132/build-gn/secondary/build_overrides/vulkan_headers.gni 2020-01-28 23:07:22.000000000 +0100 @@ -0,0 +1,15 @@ +# Copyright (c) 2020 LunarG, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +vulkan_use_x11 = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vulkan-Loader-1.2.131/loader/generated/vk_loader_extensions.c new/Vulkan-Loader-1.2.132/loader/generated/vk_loader_extensions.c --- old/Vulkan-Loader-1.2.131/loader/generated/vk_loader_extensions.c 2020-01-15 19:55:51.000000000 +0100 +++ new/Vulkan-Loader-1.2.132/loader/generated/vk_loader_extensions.c 2020-01-28 23:07:22.000000000 +0100 @@ -3518,19 +3518,19 @@ // ---- VK_KHR_create_renderpass2 extension commands if (!strcmp("vkCreateRenderPass2KHR", name)) { - *addr = (void *)vkCreateRenderPass2; + *addr = (void *)CreateRenderPass2KHR; return true; } if (!strcmp("vkCmdBeginRenderPass2KHR", name)) { - *addr = (void *)vkCmdBeginRenderPass2; + *addr = (void *)CmdBeginRenderPass2KHR; return true; } if (!strcmp("vkCmdNextSubpass2KHR", name)) { - *addr = (void *)vkCmdNextSubpass2; + *addr = (void *)CmdNextSubpass2KHR; return true; } if (!strcmp("vkCmdEndRenderPass2KHR", name)) { - *addr = (void *)vkCmdEndRenderPass2; + *addr = (void *)CmdEndRenderPass2KHR; return true; } @@ -3646,39 +3646,39 @@ // ---- VK_KHR_draw_indirect_count extension commands if (!strcmp("vkCmdDrawIndirectCountKHR", name)) { - *addr = (void *)vkCmdDrawIndirectCount; + *addr = (void *)CmdDrawIndirectCountKHR; return true; } if (!strcmp("vkCmdDrawIndexedIndirectCountKHR", name)) { - *addr = (void *)vkCmdDrawIndexedIndirectCount; + *addr = (void *)CmdDrawIndexedIndirectCountKHR; return true; } // ---- VK_KHR_timeline_semaphore extension commands if (!strcmp("vkGetSemaphoreCounterValueKHR", name)) { - *addr = (void *)vkGetSemaphoreCounterValue; + *addr = (void *)GetSemaphoreCounterValueKHR; return true; } if (!strcmp("vkWaitSemaphoresKHR", name)) { - *addr = (void *)vkWaitSemaphores; + *addr = (void *)WaitSemaphoresKHR; return true; } if (!strcmp("vkSignalSemaphoreKHR", name)) { - *addr = (void *)vkSignalSemaphore; + *addr = (void *)SignalSemaphoreKHR; return true; } // ---- VK_KHR_buffer_device_address extension commands if (!strcmp("vkGetBufferDeviceAddressKHR", name)) { - *addr = (void *)vkGetBufferDeviceAddress; + *addr = (void *)GetBufferDeviceAddressKHR; return true; } if (!strcmp("vkGetBufferOpaqueCaptureAddressKHR", name)) { - *addr = (void *)vkGetBufferOpaqueCaptureAddress; + *addr = (void *)GetBufferOpaqueCaptureAddressKHR; return true; } if (!strcmp("vkGetDeviceMemoryOpaqueCaptureAddressKHR", name)) { - *addr = (void *)vkGetDeviceMemoryOpaqueCaptureAddress; + *addr = (void *)GetDeviceMemoryOpaqueCaptureAddressKHR; return true; } @@ -4256,7 +4256,7 @@ // ---- VK_EXT_host_query_reset extension commands if (!strcmp("vkResetQueryPoolEXT", name)) { - *addr = (void *)vkResetQueryPool; + *addr = (void *)ResetQueryPoolEXT; return true; } return false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vulkan-Loader-1.2.131/loader/loader.c new/Vulkan-Loader-1.2.132/loader/loader.c --- old/Vulkan-Loader-1.2.131/loader/loader.c 2020-01-15 19:55:51.000000000 +0100 +++ new/Vulkan-Loader-1.2.132/loader/loader.c 2020-01-28 23:07:22.000000000 +0100 @@ -577,7 +577,7 @@ // // This function looks for filename in given device handle, filename is then added to return list // function return true if filename was appended to reg_data list -// If error occures result is updated with failure reason +// If error occurs result is updated with failure reason bool loaderGetDeviceRegistryEntry(const struct loader_instance *inst, char **reg_data, PDWORD total_size, DEVINST dev_id, LPCSTR value_name, VkResult *result) { HKEY hkrKey = INVALID_HANDLE_VALUE; @@ -959,7 +959,7 @@ if (!found_gpu) { loader_log(inst, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, 0, - "Dropping driver %s as no corresponduing DXGI adapter was found", name); + "Dropping driver %s as no corresponding DXGI adapter was found", name); continue; } } @@ -971,7 +971,7 @@ found = true; } else { // At this point the reg_data variable contains other JSON paths, likely from the PNP/device section - // of the registry that we want to have precendence over this non-device specific section of the registry. + // of the registry that we want to have precedence over this non-device specific section of the registry. // To make sure we avoid enumerating old JSON files/drivers that might be present in the non-device specific // area of the registry when a newer device specific JSON file is present, do a check before adding. // Find the file name, without path, of the JSON file found in the non-device specific registry location. @@ -2422,7 +2422,7 @@ } void loader_initialize(void) { - // initialize mutexs + // initialize mutexes loader_platform_thread_create_mutex(&loader_lock); loader_platform_thread_create_mutex(&loader_json_lock); @@ -2449,7 +2449,7 @@ }; void loader_release() { - // release mutexs + // release mutexes loader_platform_thread_delete_mutex(&loader_lock); loader_platform_thread_delete_mutex(&loader_json_lock); } @@ -3948,7 +3948,7 @@ } #ifdef _WIN32 -// Read manifest JSON files uing the Windows driver interface +// Read manifest JSON files using the Windows driver interface static VkResult ReadManifestsFromD3DAdapters(const struct loader_instance *inst, char **reg_data, PDWORD reg_data_size, const wchar_t *value_name) { VkResult result = VK_INCOMPLETE; @@ -6186,7 +6186,7 @@ } // Terminator functions for the Instance chain -// All named terminator_<Vulakn API name> +// All named terminator_<Vulkan API name> VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateInstance(const VkInstanceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkInstance *pInstance) { struct loader_icd_term *icd_term; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vulkan-Loader-1.2.131/loader/loader.rc new/Vulkan-Loader-1.2.132/loader/loader.rc --- old/Vulkan-Loader-1.2.131/loader/loader.rc 2020-01-15 19:55:51.000000000 +0100 +++ new/Vulkan-Loader-1.2.132/loader/loader.rc 2020-01-28 23:07:22.000000000 +0100 @@ -86,7 +86,7 @@ BEGIN VALUE "FileDescription", VER_FILE_DESCRIPTION_STR VALUE "FileVersion", VER_FILE_VERSION_STR - VALUE "LegalCopyright", "Copyright (C) 2015-2019" + VALUE "LegalCopyright", "Copyright (C) 2015-2020" VALUE "ProductName", "Vulkan Runtime" VALUE "ProductVersion", VER_FILE_VERSION_STR END diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vulkan-Loader-1.2.131/loader/vk_loader_platform.h new/Vulkan-Loader-1.2.132/loader/vk_loader_platform.h --- old/Vulkan-Loader-1.2.131/loader/vk_loader_platform.h 2020-01-15 19:55:51.000000000 +0100 +++ new/Vulkan-Loader-1.2.132/loader/vk_loader_platform.h 2020-01-28 23:07:22.000000000 +0100 @@ -311,15 +311,15 @@ typedef HANDLE loader_platform_thread; // __declspec(thread) is not supported by MinGW compiler (ignored with warning or -// cause erorr depending on compiler switches) +// cause error depending on compiler switches) // // __thread should be used instead // // __MINGW32__ defined for both 32 and 64 bit MinGW compilers, so it is enough to -// detect any (32 or 64) flawor of MinGW compiler. +// detect any (32 or 64) flavor of MinGW compiler. // // @note __GNUC__ could be used as a more generic way to detect _any_ -// GCC[-compitible] compiler on Windows, but this fix was tested +// GCC[-compatible] compiler on Windows, but this fix was tested // only with MinGW, so keep it explicit at the moment. #if defined(__MINGW32__) #define THREAD_LOCAL_DECL __thread diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vulkan-Loader-1.2.131/scripts/known_good.json new/Vulkan-Loader-1.2.132/scripts/known_good.json --- old/Vulkan-Loader-1.2.131/scripts/known_good.json 2020-01-15 19:55:51.000000000 +0100 +++ new/Vulkan-Loader-1.2.132/scripts/known_good.json 2020-01-28 23:07:22.000000000 +0100 @@ -6,7 +6,7 @@ "sub_dir" : "Vulkan-Headers", "build_dir" : "Vulkan-Headers/build", "install_dir" : "Vulkan-Headers/build/install", - "commit" : "v1.2.131" + "commit" : "v1.2.132" } ], "install_names" : { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vulkan-Loader-1.2.131/scripts/loader_extension_generator.py new/Vulkan-Loader-1.2.132/scripts/loader_extension_generator.py --- old/Vulkan-Loader-1.2.131/scripts/loader_extension_generator.py 2020-01-15 19:55:51.000000000 +0100 +++ new/Vulkan-Loader-1.2.132/scripts/loader_extension_generator.py 2020-01-28 23:07:22.000000000 +0100 @@ -65,7 +65,9 @@ 'vkSetDebugUtilsObjectTagEXT', 'vkGetDeviceGroupSurfacePresentModes2EXT'] -ALIASED_CMDS = { +# These are the aliased functions that use the same terminator for both extension and core versions +# Generally, this is only applies to physical device level functions in instance extensions +SHARED_ALIASES = { # 1.1 aliases 'vkEnumeratePhysicalDeviceGroupsKHR': 'vkEnumeratePhysicalDeviceGroups', 'vkGetPhysicalDeviceFeatures2KHR': 'vkGetPhysicalDeviceFeatures2', @@ -78,21 +80,6 @@ 'vkGetPhysicalDeviceExternalBufferPropertiesKHR': 'vkGetPhysicalDeviceExternalBufferProperties', 'vkGetPhysicalDeviceExternalSemaphorePropertiesKHR': 'vkGetPhysicalDeviceExternalSemaphoreProperties', 'vkGetPhysicalDeviceExternalFencePropertiesKHR': 'vkGetPhysicalDeviceExternalFenceProperties', - - # 1.2 aliases - 'vkCreateRenderPass2KHR': 'vkCreateRenderPass2', - 'vkCmdBeginRenderPass2KHR': 'vkCmdBeginRenderPass2', - 'vkCmdNextSubpass2KHR': 'vkCmdNextSubpass2', - 'vkCmdEndRenderPass2KHR': 'vkCmdEndRenderPass2', - 'vkCmdDrawIndirectCountKHR': 'vkCmdDrawIndirectCount', - 'vkCmdDrawIndexedIndirectCountKHR': 'vkCmdDrawIndexedIndirectCount', - 'vkGetSemaphoreCounterValueKHR': 'vkGetSemaphoreCounterValue', - 'vkWaitSemaphoresKHR': 'vkWaitSemaphores', - 'vkSignalSemaphoreKHR': 'vkSignalSemaphore', - 'vkGetBufferDeviceAddressKHR': 'vkGetBufferDeviceAddress', - 'vkGetBufferOpaqueCaptureAddressKHR': 'vkGetBufferOpaqueCaptureAddress', - 'vkGetDeviceMemoryOpaqueCaptureAddressKHR': 'vkGetDeviceMemoryOpaqueCaptureAddress', - 'vkResetQueryPoolEXT': 'vkResetQueryPool', } PRE_INSTANCE_FUNCTIONS = ['vkEnumerateInstanceExtensionProperties', @@ -1378,7 +1365,7 @@ gpa_func += '#ifdef %s\n' % cur_cmd.protect #base_name = cur_cmd.name[2:] - base_name = ALIASED_CMDS[cur_cmd.name] if cur_cmd.name in ALIASED_CMDS else cur_cmd.name[2:] + base_name = SHARED_ALIASES[cur_cmd.name] if cur_cmd.name in SHARED_ALIASES else cur_cmd.name[2:] if (cur_cmd.ext_type == 'instance'): gpa_func += ' if (!strcmp("%s", name)) {\n' % (cur_cmd.name) @@ -1540,7 +1527,7 @@ # Remove 'vk' from proto name base_name = cur_cmd.name[2:] - aliased_name = ALIASED_CMDS[cur_cmd.name][2:] if cur_cmd.name in ALIASED_CMDS else base_name + aliased_name = SHARED_ALIASES[cur_cmd.name][2:] if cur_cmd.name in SHARED_ALIASES else base_name if (base_name == 'CreateInstance' or base_name == 'CreateDevice' or base_name == 'EnumerateInstanceExtensionProperties' or