diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-11-06 19:17:10 -0500 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-11-06 16:17:10 -0800 |
| commit | de6ca4df6668aa4f3f5113410e2e898e37cd7bc4 (patch) | |
| tree | 65cf6805698023d0132eeca0719258ba4cfcf742 /source/slang | |
| parent | 02e18b55faff56c037a76645c793b24b712fa375 (diff) | |
Made sameStageSpecifiedMoreThanOnce a warning instead of an error. (#714)
Diffstat (limited to 'source/slang')
| -rw-r--r-- | source/slang/diagnostic-defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/diagnostic-defs.h b/source/slang/diagnostic-defs.h index f28666522..8466485e7 100644 --- a/source/slang/diagnostic-defs.h +++ b/source/slang/diagnostic-defs.h @@ -75,7 +75,7 @@ DIAGNOSTIC( 21, Error, expectedArgumentForOption, "expected an argument for c DIAGNOSTIC( 24, Error, unknownLineDirectiveMode, "unknown '#line' directive mode '$0'"); DIAGNOSTIC( 25, Error, unknownFloatingPointMode, "unknown floating-point mode '$0'"); -DIAGNOSTIC( 30, Error, sameStageSpecifiedMoreThanOnce, "the stage '$0' was specified more than once for entry point '$1'") +DIAGNOSTIC( 30, Warning, sameStageSpecifiedMoreThanOnce, "the stage '$0' was specified more than once for entry point '$1'") DIAGNOSTIC( 31, Error, conflictingStagesForEntryPoint, "conflicting stages have been specified for entry point '$0'") DIAGNOSTIC( 32, Warning, explicitStageDoesntMatchImpliedStage, "the stage specified for entry point '$0' ('$1') does not match the stage implied by the source file name ('$2')") DIAGNOSTIC( 33, Error, stageSpecificationIgnoredBecauseNoEntryPoints, "one or more stages were specified, but no entry points were specified with '-entry'") |
