summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/command-line-slangc-reference.md2
-rw-r--r--source/core/slang-type-text-util.cpp5
2 files changed, 2 insertions, 5 deletions
diff --git a/docs/command-line-slangc-reference.md b/docs/command-line-slangc-reference.md
index 50a0a46c7..8cba2107f 100644
--- a/docs/command-line-slangc-reference.md
+++ b/docs/command-line-slangc-reference.md
@@ -1089,7 +1089,7 @@ Target
* `host-host-callable` : Host callable for host execution
* `metal` : Metal shader source
* `metallib` : Metal Library Bytecode
-* `Metal Library Bytecode assembly`
+* `metallib-asm` : Metal Library Bytecode assembly
* `wgsl` : WebGPU shading language source
* `wgsl-spirv-asm`, `wgsl-spirv-assembly` : SPIR-V assembly via WebGPU shading language
* `wgsl-spirv` : SPIR-V via WebGPU shading language
diff --git a/source/core/slang-type-text-util.cpp b/source/core/slang-type-text-util.cpp
index 39b68db45..d8435c503 100644
--- a/source/core/slang-type-text-util.cpp
+++ b/source/core/slang-type-text-util.cpp
@@ -77,10 +77,7 @@ static const TypeTextUtil::CompileTargetInfo s_compileTargetInfos[] = {
{SLANG_HOST_HOST_CALLABLE, "", "host-host-callable", "Host callable for host execution"},
{SLANG_METAL, "metal", "metal", "Metal shader source"},
{SLANG_METAL_LIB, "metallib", "metallib", "Metal Library Bytecode"},
- {SLANG_METAL_LIB_ASM,
- "metallib-asm"
- "metallib-asm",
- "Metal Library Bytecode assembly"},
+ {SLANG_METAL_LIB_ASM, "metallib-asm", "metallib-asm", "Metal Library Bytecode assembly"},
{SLANG_WGSL, "wgsl", "wgsl", "WebGPU shading language source"},
{SLANG_WGSL_SPIRV_ASM,
"wgsl-spirv-asm",