summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-05-14 17:50:00 -0400
committerGitHub <noreply@github.com>2021-05-14 17:50:00 -0400
commitd4316c88457a32f1169b2d7d82053ccbc05fa7ed (patch)
treecbc87350b9ef2f5be31ebc20783e08b895767779 /slang.h
parent79d106fac18f5792fcac448a0b037aa834fa6042 (diff)
FXC as DownstreamCompiler (#1844)
* #include an absolute path didn't work - because paths were taken to always be relative. * WIP Fxc as downstream compiler. * First pass FXC downstream compiler working. * GCC compile fix. * Fix FXC parsing issue. * Special case filesystem access. * Use StringUtil getSlice. * Fix isses with not emitting source for FXC. * Small fixes for DXBC handling.
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/slang.h b/slang.h
index a5982a731..4b7ed9955 100644
--- a/slang.h
+++ b/slang.h
@@ -526,7 +526,8 @@ extern "C"
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_CUDA_SOURCE, ///< Cuda source
- SLANG_PTX, ///< PTX
+ SLANG_PTX, ///< PTX
+ SLANG_OBJECT_CODE, ///< Object code that can be used for later linking
SLANG_TARGET_COUNT_OF,
};