diff options
| author | Charles Giessen <charles@lunarg.com> | 2022-02-02 14:32:39 -0700 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-02-02 16:22:12 -0700 |
| commit | 376854f6a8b9dd78349043d1599d2b58cd2c5a23 (patch) | |
| tree | 609b654ea42cd8f6f410bf9d472c87167665e1a6 | |
| parent | f66bcfda08bc0bd634a30fe7e28f2b9fe29df55e (diff) | |
| download | usermoji-376854f6a8b9dd78349043d1599d2b58cd2c5a23.tar.xz | |
vulkaninfo: Update generated copyright
| -rw-r--r-- | scripts/vulkaninfo_generator.py | 16 | ||||
| -rw-r--r-- | vulkaninfo/generated/vulkaninfo.hpp | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/scripts/vulkaninfo_generator.py b/scripts/vulkaninfo_generator.py index 572f63c2..2f092ad3 100644 --- a/scripts/vulkaninfo_generator.py +++ b/scripts/vulkaninfo_generator.py @@ -1,8 +1,8 @@ #!/usr/bin/python3 # -# Copyright (c) 2019 Valve Corporation -# Copyright (c) 2019 LunarG, Inc. -# Copyright (c) 2019 Google Inc. +# Copyright (c) 2019-2022 Valve Corporation +# Copyright (c) 2019-2022 LunarG, Inc. +# Copyright (c) 2019-2022 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,9 +33,9 @@ from common_codegen import * license_header = ''' /* - * Copyright (c) 2019-2021 The Khronos Group Inc. - * Copyright (c) 2019-2021 Valve Corporation - * Copyright (c) 2019-2021 LunarG, Inc. + * Copyright (c) 2019-2022 The Khronos Group Inc. + * Copyright (c) 2019-2022 Valve Corporation + * Copyright (c) 2019-2022 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -683,7 +683,7 @@ def PrintChainIterator(listName, structures, all_structures, checkExtLoc, extTyp if k == s.name or (s.name in aliases.keys() and k in aliases[s.name]): for e in elem: extEnables[e.extNameStr] = e.type - + version = None oldVersionName = None for v in vulkan_versions: @@ -700,7 +700,7 @@ def PrintChainIterator(listName, structures, all_structures, checkExtLoc, extTyp has_extNameStr = len(extEnables) > 0 or s.name in aliases.keys() if has_version or has_extNameStr: - out += f" && \n (" + out += f" &&\n (" has_printed_condition = False if has_extNameStr: for key, value in extEnables.items(): diff --git a/vulkaninfo/generated/vulkaninfo.hpp b/vulkaninfo/generated/vulkaninfo.hpp index 0bd71061..53c59355 100644 --- a/vulkaninfo/generated/vulkaninfo.hpp +++ b/vulkaninfo/generated/vulkaninfo.hpp @@ -1,8 +1,8 @@ /* - * Copyright (c) 2019-2021 The Khronos Group Inc. - * Copyright (c) 2019-2021 Valve Corporation - * Copyright (c) 2019-2021 LunarG, Inc. + * Copyright (c) 2019-2022 The Khronos Group Inc. + * Copyright (c) 2019-2022 Valve Corporation + * Copyright (c) 2019-2022 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -3532,7 +3532,7 @@ void chain_iterator_phys_device_features2(Printer &p, AppGpu &gpu, void * place) p.AddNewline(); } if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR && - (gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME))) { + (gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME) || gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_GLOBAL_PRIORITY_QUERY_EXTENSION_NAME))) { VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR* props = (VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR*)structure; DumpVkPhysicalDeviceGlobalPriorityQueryFeaturesKHR(p, "VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR", *props); p.AddNewline(); @@ -3979,7 +3979,7 @@ void chain_iterator_queue_properties2(Printer &p, AppGpu &gpu, void * place) { struct VkBaseOutStructure *structure = (struct VkBaseOutStructure *)place; p.SetSubHeader(); if (structure->sType == VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR && - (gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME))) { + (gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME) || gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_GLOBAL_PRIORITY_QUERY_EXTENSION_NAME))) { VkQueueFamilyGlobalPriorityPropertiesKHR* props = (VkQueueFamilyGlobalPriorityPropertiesKHR*)structure; DumpVkQueueFamilyGlobalPriorityPropertiesKHR(p, "VkQueueFamilyGlobalPriorityPropertiesKHR", *props); p.AddNewline(); |
