summaryrefslogtreecommitdiffstats
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/options.cpp')
-rw-r--r--tools/render-test/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index fec934afc..7d3fd27b5 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -66,6 +66,10 @@ static SlangSourceLanguage _findSourceLanguage(const UnownedStringSlice& text)
{
return SLANG_SOURCE_LANGUAGE_HLSL;
}
+ else if (text == "cu" || text == "cuda")
+ {
+ return SLANG_SOURCE_LANGUAGE_CUDA;
+ }
return SLANG_SOURCE_LANGUAGE_UNKNOWN;
}