diff options
| author | Yong He <yonghe@outlook.com> | 2022-03-28 22:14:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-28 22:14:33 -0700 |
| commit | 255fd5873f65a6b01d5385c277d55612dc3cc587 (patch) | |
| tree | 54eda0ae98bc9c1b30ca75e534ca203d8e03f241 /slang.h | |
| parent | 79b81083b75dc0abdbb8184568dbe36d082e04f3 (diff) | |
Allow slangc to generate exe from .slang file. (#2170)
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -551,13 +551,14 @@ extern "C" SLANG_DXIL, SLANG_DXIL_ASM, SLANG_C_SOURCE, ///< The C language - SLANG_CPP_SOURCE, ///< The C++ language - SLANG_EXECUTABLE, ///< Executable (for hosting CPU/OS) - SLANG_SHARED_LIBRARY, ///< A shared library/Dll (for hosting CPU/OS) - SLANG_HOST_CALLABLE, ///< A CPU target that makes the compiled code available to be run immediately + SLANG_CPP_SOURCE, ///< C++ code for shader kernels. + SLANG_HOST_EXECUTABLE, ///< Standalone binary executable (for hosting CPU/OS) + SLANG_SHADER_SHARED_LIBRARY, ///< A shared library/Dll for shader kernels (for hosting CPU/OS) + SLANG_SHADER_HOST_CALLABLE, ///< A CPU target that makes the compiled shader code available to be run immediately SLANG_CUDA_SOURCE, ///< Cuda source SLANG_PTX, ///< PTX SLANG_OBJECT_CODE, ///< Object code that can be used for later linking + SLANG_HOST_CPP_SOURCE, ///< C++ code for host library or executable. SLANG_TARGET_COUNT_OF, }; |
