SPV: Standalone; sanity check the client GLSL input semantics option value.
This commit is contained in:
parent
a1a497ffe7
commit
2de6d657dd
1 changed files with 4 additions and 0 deletions
|
|
@ -696,6 +696,8 @@ void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
|
|||
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 @@ void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue