SPV: Standalone; sanity check the client GLSL input semantics option value.
diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp
index 8836812..1f294b0 100644
--- a/StandAlone/StandAlone.cpp
+++ b/StandAlone/StandAlone.cpp
@@ -696,6 +696,8 @@
setOpenGlSpv();
if (argv[0][2] != 0)
ClientInputSemanticsVersion = getAttachedNumber("-G<num> client input semantics");
+ if (ClientInputSemanticsVersion != 100)
+ Error("unknown client version for -G, should be 100");
break;
case 'H':
Options |= EOptionHumanReadableSpv;
@@ -732,6 +734,8 @@
setVulkanSpv();
if (argv[0][2] != 0)
ClientInputSemanticsVersion = getAttachedNumber("-V<num> client input semantics");
+ if (ClientInputSemanticsVersion != 100)
+ Error("unknown client version for -V, should be 100");
break;
case 'c':
Options |= EOptionDumpConfig;