aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes van Waveren <janpaul.vanwaveren@oculus.com>2016-10-30 05:47:59 +0100
committerMark Lobodzinski <mark@lunarg.com>2016-11-01 07:42:10 -0600
commit3e5ef5877fe03397d3a3da3b6fa3374f211affa7 (patch)
tree7ea5e8c173d476c135af6e7cb33ee5b7a24ed5b3
parent70fd6144883aa585977363bc6d28005f38ca3564 (diff)
downloadusermoji-3e5ef5877fe03397d3a3da3b6fa3374f211affa7.tar.xz
scripts: Re-added AllPlatforms wsi option
A single cross-platform dispatch table helper file is preferable. Added the AllPlatforms parameter back into vk-generate.py Change-Id: Icc00c04504d58007270eb55fc269651c215aa9b4
-rwxr-xr-xvk-generate.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/vk-generate.py b/vk-generate.py
index d8672c26..7c57b156 100755
--- a/vk-generate.py
+++ b/vk-generate.py
@@ -282,6 +282,7 @@ def main():
"Wayland",
"Mir",
"Display",
+ "AllPlatforms",
}
subcommands = {
"dispatch-table-ops": DispatchTableOpsSubcommand,
@@ -289,9 +290,10 @@ def main():
}
if len(sys.argv) < 3 or sys.argv[1] not in wsi or sys.argv[2] not in subcommands:
- print("Usage: %s <wsi> <subcommand> [options]" % sys.argv[0])
+ print("Usage: %s <wsi> <subcommand> <option>" % sys.argv[0])
print
- print("Available sucommands are: %s" % " ".join(subcommands))
+ print("Available wsi are: %s" % " ".join(wsi))
+ print("Available subcommands are: %s" % " ".join(subcommands))
exit(1)
subcmd = subcommands[sys.argv[2]](sys.argv[3:])