summaryrefslogtreecommitdiffstats
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-02-18 19:13:02 -0500
committerGitHub <noreply@github.com>2020-02-18 19:13:02 -0500
commit45d1a680634c59d1081ed09dddaa444695296492 (patch)
treeaf803579f32d1592a297d70e41f848184dea93ea /tools/render-test/options.cpp
parent8ee39e08c48a315163fe1850dbb12ca292020d4d (diff)
Added support for Targets to TypeTextUtil. (#1226)
* Added support for Targets to TypeTextUtil. * Made Function names 'get' and 'find' instead of 'as' in TypeTextUtil.
Diffstat (limited to 'tools/render-test/options.cpp')
-rw-r--r--tools/render-test/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index 6591941e8..bd6d2b364 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -228,7 +228,7 @@ SlangResult parseOptions(int argc, const char*const* argv, Slang::WriterHelper s
}
UnownedStringSlice sourceLanguageText(*argCursor++);
- SlangSourceLanguage sourceLanguage = TypeTextUtil::asSourceLanguage(sourceLanguageText);
+ SlangSourceLanguage sourceLanguage = TypeTextUtil::findSourceLanguage(sourceLanguageText);
if (sourceLanguage == SLANG_SOURCE_LANGUAGE_UNKNOWN)
{
stdError.print("error: expecting unknown source language name '%s' for '%s'\n", String(sourceLanguageText).getBuffer(), arg);