File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -696,6 +696,8 @@ void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
696
696
setOpenGlSpv ();
697
697
if (argv[0 ][2 ] != 0 )
698
698
ClientInputSemanticsVersion = getAttachedNumber (" -G<num> client input semantics" );
699
+ if (ClientInputSemanticsVersion != 100 )
700
+ Error (" unknown client version for -G, should be 100" );
699
701
break ;
700
702
case ' H' :
701
703
Options |= EOptionHumanReadableSpv;
@@ -732,6 +734,8 @@ void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
732
734
setVulkanSpv ();
733
735
if (argv[0 ][2 ] != 0 )
734
736
ClientInputSemanticsVersion = getAttachedNumber (" -V<num> client input semantics" );
737
+ if (ClientInputSemanticsVersion != 100 )
738
+ Error (" unknown client version for -V, should be 100" );
735
739
break ;
736
740
case ' c' :
737
741
Options |= EOptionDumpConfig;
You can’t perform that action at this time.
0 commit comments