summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-options.cpp')
-rw-r--r--source/slang/slang-options.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index 9141188df..1b8a45401 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -325,6 +325,8 @@ void initCommandOptions(CommandOptions& options)
{"tesc", "glsl (hull)"},
{"tese", "glsl (domain)"},
{"comp", "glsl (compute)"},
+ {"mesh", "glsl (mesh)"},
+ {"task", "glsl (amplification)"},
{"slang", nullptr},
{"spv", "SPIR-V"},
{"spv-asm", "SPIR-V assembly"},
@@ -1305,11 +1307,14 @@ void OptionsParser::addInputForeignShaderPath(
};
static const Entry entries[] = {
+ {".vert", Profile::GLSL_Vertex},
{".frag", Profile::GLSL_Fragment},
{".geom", Profile::GLSL_Geometry},
{".tesc", Profile::GLSL_TessControl},
{".tese", Profile::GLSL_TessEval},
- {".comp", Profile::GLSL_Compute}};
+ {".comp", Profile::GLSL_Compute},
+ {".mesh", Profile::GLSL_Mesh},
+ {".task", Profile::GLSL_Task}};
for (Index i = 0; i < SLANG_COUNT_OF(entries); ++i)
{