summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2018-11-28 17:56:32 -0500
committerTim Foley <tfoleyNV@users.noreply.github.com>2018-11-28 14:56:32 -0800
commit7f0ccc5580faa43c2554d9d016c27ebe069362c5 (patch)
treecd958b3cb2e162c18c08583935982f0416f5a07b /slang.h
parente21d5ad650130631e17662ce8f22d15315ab597a (diff)
* Renamed spSessionHasCompileTargetSupport to spSessionCheckCompileTargetSupport. (#728)
* Improved return codes from spSessionCheckCompileTargetSupport
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/slang.h b/slang.h
index 1775e0de4..4e7fd2f7a 100644
--- a/slang.h
+++ b/slang.h
@@ -849,8 +849,11 @@ extern "C"
@brief Returns SLANG_OK if a the compilation target is supported for this session
@param session Session
@param target The compilation target to test
- @return SLANG_OK if the target is available */
- SLANG_API SlangResult spSessionHasCompileTargetSupport(
+ @return SLANG_OK if the target is available
+ SLANG_E_NOT_IMPLEMENTED if not implemented in this build
+ SLANG_E_NOT_FOUND if other resources (such as shared libraries) required to make target work could not be found
+ SLANG_FAIL other kinds of failures */
+ SLANG_API SlangResult spSessionCheckCompileTargetSupport(
SlangSession* session,
SlangCompileTarget target);