summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-shader.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-05-28 15:32:19 -0400
committerGitHub <noreply@github.com>2020-05-28 15:32:19 -0400
commit95597d77b131ee2c41c2eb4481844c315b2c82eb (patch)
tree08453076a9744393a4301a84d254cfe07c536a4a /source/slang/slang-check-shader.cpp
parentc2d31347ea06c768045e7c503ef0188e0e5356de (diff)
Small improvements to documentation and code around DiagnosticSink (#1359)
Diffstat (limited to 'source/slang/slang-check-shader.cpp')
-rw-r--r--source/slang/slang-check-shader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/slang-check-shader.cpp b/source/slang/slang-check-shader.cpp
index f68439f8a..a037218f9 100644
--- a/source/slang/slang-check-shader.cpp
+++ b/source/slang/slang-check-shader.cpp
@@ -1269,7 +1269,7 @@ namespace Slang
//
List<SpecializationArg> args;
_extractSpecializationArgs(unspecializedEntryPoint, argExprs, args, sink);
- if(sink->GetErrorCount())
+ if(sink->getErrorCount())
return nullptr;
return ((ComponentType*) unspecializedEntryPoint)->specialize(
@@ -1429,7 +1429,7 @@ namespace Slang
List<SpecializationArg> specializationArgs;
_extractSpecializationArgs(unspecializedProgram, specializationArgExprs, specializationArgs, sink);
- if(sink->GetErrorCount())
+ if(sink->getErrorCount())
return nullptr;
auto specializedProgram = unspecializedProgram->specialize(
@@ -1511,7 +1511,7 @@ namespace Slang
globalSpecializationArgs);
// Don't proceed further if anything failed to parse.
- if(sink->GetErrorCount())
+ if(sink->getErrorCount())
return nullptr;
// Now we create the initial specialized program by
@@ -1635,7 +1635,7 @@ namespace Slang
// then try to create a composite where some of the constituent
// component types might be null.
//
- if(endToEndReq->getSink()->GetErrorCount() != 0)
+ if(endToEndReq->getSink()->getErrorCount() != 0)
return nullptr;
// Any entry points beyond those that were specified up front will be