aboutsummaryrefslogtreecommitdiff
path: root/scripts/vulkaninfo_generator.py
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2022-02-02 14:32:39 -0700
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-02-02 16:22:12 -0700
commit376854f6a8b9dd78349043d1599d2b58cd2c5a23 (patch)
tree609b654ea42cd8f6f410bf9d472c87167665e1a6 /scripts/vulkaninfo_generator.py
parentf66bcfda08bc0bd634a30fe7e28f2b9fe29df55e (diff)
downloadusermoji-376854f6a8b9dd78349043d1599d2b58cd2c5a23.tar.xz
vulkaninfo: Update generated copyright
Diffstat (limited to 'scripts/vulkaninfo_generator.py')
-rw-r--r--scripts/vulkaninfo_generator.py16
1 files changed, 8 insertions, 8 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():