diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp index 883681274..1f294b074 100644 --- a/StandAlone/StandAlone.cpp +++ b/StandAlone/StandAlone.cpp @@ -696,6 +696,8 @@ void ProcessArguments(std::vector>& workItem setOpenGlSpv(); if (argv[0][2] != 0) ClientInputSemanticsVersion = getAttachedNumber("-G client input semantics"); + if (ClientInputSemanticsVersion != 100) + Error("unknown client version for -G, should be 100"); break; case 'H': Options |= EOptionHumanReadableSpv; @@ -732,6 +734,8 @@ void ProcessArguments(std::vector>& workItem setVulkanSpv(); if (argv[0][2] != 0) ClientInputSemanticsVersion = getAttachedNumber("-V client input semantics"); + if (ClientInputSemanticsVersion != 100) + Error("unknown client version for -V, should be 100"); break; case 'c': Options |= EOptionDumpConfig;