Updated command-line options, adding -o for saving binaries, -G for OpenGL SPIR-V validation, -v etc.
Old uses should still work as they did before. Also encapsulated use of these flags during parsing, for the parse context. Added SPIR-V version to -v.
This commit is contained in:
parent
b329715caf
commit
68d78fd31e
11 changed files with 159 additions and 97 deletions
|
|
@ -505,7 +505,7 @@ bool ProcessDeferred(
|
|||
bool versionNotFirst = userInput.scanVersion(version, profile, versionNotFirstToken);
|
||||
bool versionNotFound = version == 0;
|
||||
if (forceDefaultVersionAndProfile) {
|
||||
if (!(messages & EShMsgSuppressWarnings) && !versionNotFound &&
|
||||
if (! (messages & EShMsgSuppressWarnings) && ! versionNotFound &&
|
||||
(version != defaultVersion || profile != defaultProfile)) {
|
||||
compiler->infoSink.info << "Warning, (version, profile) forced to be ("
|
||||
<< defaultVersion << ", " << ProfileName(defaultProfile)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue