diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-07-12 14:52:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-12 14:52:21 -0700 |
| commit | 9058358792fa393e0e92af80f24a54a037aa9691 (patch) | |
| tree | 156c36903426a4f18f0e4c857d9d9eb987459789 /source/slang/diagnostics.h | |
| parent | 6101e483ae8ea9e10db2b5a9423af3cc7fafb710 (diff) | |
| parent | 02f77bbf12981abe376b2d5987684224a50ae4b2 (diff) | |
Merge pull request #80 from tfoleyNV/falcor-work
Fixes for shader cross-compilation
Diffstat (limited to 'source/slang/diagnostics.h')
| -rw-r--r-- | source/slang/diagnostics.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/slang/diagnostics.h b/source/slang/diagnostics.h index 8834f1a6e..6957fc763 100644 --- a/source/slang/diagnostics.h +++ b/source/slang/diagnostics.h @@ -185,6 +185,12 @@ namespace Slang } void diagnoseImpl(CodePosition const& pos, DiagnosticInfo const& info, int argCount, DiagnosticArg const* const* args); + + // Add a diagnostic with raw text + // (used when we get errors from a downstream compiler) + void diagnoseRaw( + Severity severity, + char const* message); }; namespace Diagnostics |
