mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-25 13:23:12 +00:00
SPV: Standalone; sanity check the client GLSL input semantics option value.
This commit is contained in:
parent
a1a497ffe7
commit
2de6d657dd
@ -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…
x
Reference in New Issue
Block a user