diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-11-28 17:56:32 -0500 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-11-28 14:56:32 -0800 |
| commit | 7f0ccc5580faa43c2554d9d016c27ebe069362c5 (patch) | |
| tree | cd958b3cb2e162c18c08583935982f0416f5a07b /slang.h | |
| parent | e21d5ad650130631e17662ce8f22d15315ab597a (diff) | |
* Renamed spSessionHasCompileTargetSupport to spSessionCheckCompileTargetSupport. (#728)
* Improved return codes from spSessionCheckCompileTargetSupport
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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); |
