aboutsummaryrefslogtreecommitdiff
path: root/scripts/common_codegen.py
diff options
context:
space:
mode:
authorShannon McPherson <shannon@lunarg.com>2019-03-05 14:06:10 -0700
committerShannon McPherson <shannon@lunarg.com>2019-03-05 14:06:10 -0700
commit0b44e581d9e9497bf94a050df1f6f878b5ffae24 (patch)
treec84e55da9b9cc12f2bc9905705f648634b45ebdf /scripts/common_codegen.py
parent607c301efbb2ee5228f8ddc8eb7500f11dedecbd (diff)
downloadusermoji-0b44e581d9e9497bf94a050df1f6f878b5ffae24.tar.xz
build: Update known-good for 1.1.102 header
Additionally, updated copyright dates and added Metal to the platform list Updated: - `build-android/vulkan-headers_revision_android` - `scripts/common_codegen.py` - `scripts/known_good.json` Change-Id: I161f2dfaf8fafd25be50e09b8c6e7da13d9ad9b3
Diffstat (limited to 'scripts/common_codegen.py')
-rw-r--r--scripts/common_codegen.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/scripts/common_codegen.py b/scripts/common_codegen.py
index aae3425a..c739bfaa 100644
--- a/scripts/common_codegen.py
+++ b/scripts/common_codegen.py
@@ -1,8 +1,8 @@
#!/usr/bin/python3 -i
#
-# Copyright (c) 2015-2017 The Khronos Group Inc.
-# Copyright (c) 2015-2017 Valve Corporation
-# Copyright (c) 2015-2017 LunarG, Inc.
+# Copyright (c) 2015-2017, 2019 The Khronos Group Inc.
+# Copyright (c) 2015-2017, 2019 Valve Corporation
+# Copyright (c) 2015-2017, 2019 LunarG, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -26,10 +26,10 @@ from collections import namedtuple
# Copyright text prefixing all headers (list of strings).
prefixStrings = [
'/*',
- '** Copyright (c) 2015-2017 The Khronos Group Inc.',
- '** Copyright (c) 2015-2017 Valve Corporation',
- '** Copyright (c) 2015-2017 LunarG, Inc.',
- '** Copyright (c) 2015-2017 Google Inc.',
+ '** Copyright (c) 2015-2017, 2019 The Khronos Group Inc.',
+ '** Copyright (c) 2015-2017, 2019 Valve Corporation',
+ '** Copyright (c) 2015-2017, 2019 LunarG, Inc.',
+ '** Copyright (c) 2015-2017, 2019 Google Inc.',
'**',
'** Licensed under the Apache License, Version 2.0 (the "License");',
'** you may not use this file except in compliance with the License.',
@@ -52,6 +52,7 @@ platform_dict = {
'fuchsia' : 'VK_USE_PLATFORM_FUCHSIA',
'ios' : 'VK_USE_PLATFORM_IOS_MVK',
'macos' : 'VK_USE_PLATFORM_MACOS_MVK',
+ 'metal' : 'VK_USE_PLATFORM_METAL',
'vi' : 'VK_USE_PLATFORM_VI_NN',
'wayland' : 'VK_USE_PLATFORM_WAYLAND_KHR',
'win32' : 'VK_USE_PLATFORM_WIN32_KHR',