summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/slang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/slang.h b/include/slang.h
index 9755415b3..777cd406b 100644
--- a/include/slang.h
+++ b/include/slang.h
@@ -603,6 +603,7 @@ extern "C"
SLANG_METAL_LIB, ///< Metal library
SLANG_METAL_LIB_ASM, ///< Metal library assembly
SLANG_HOST_SHARED_LIBRARY, ///< A shared library/Dll for host code (for hosting CPU/OS)
+ SLANG_WGSL, ///< WebGPU shading language
SLANG_TARGET_COUNT_OF,
};
@@ -735,6 +736,7 @@ extern "C"
SLANG_SOURCE_LANGUAGE_CUDA,
SLANG_SOURCE_LANGUAGE_SPIRV,
SLANG_SOURCE_LANGUAGE_METAL,
+ SLANG_SOURCE_LANGUAGE_WGSL,
SLANG_SOURCE_LANGUAGE_COUNT_OF,
};