From 7f0ccc5580faa43c2554d9d016c27ebe069362c5 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Wed, 28 Nov 2018 17:56:32 -0500 Subject: * Renamed spSessionHasCompileTargetSupport to spSessionCheckCompileTargetSupport. (#728) * Improved return codes from spSessionCheckCompileTargetSupport --- slang.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'slang.h') 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); -- cgit v1.2.3