diff options
Diffstat (limited to 'source/core/slang-render-api-util.cpp')
| -rw-r--r-- | source/core/slang-render-api-util.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/core/slang-render-api-util.cpp b/source/core/slang-render-api-util.cpp index 6c00e72b0..bc15a8164 100644 --- a/source/core/slang-render-api-util.cpp +++ b/source/core/slang-render-api-util.cpp @@ -277,7 +277,7 @@ static bool _canLoadSharedLibrary(const char* libName) default: break; } #elif SLANG_UNIX_FAMILY - // Assume on unix target we have Opengl and Vulkan for now + // Assume on unix target we never have D3D switch (type) { case RenderApiType::OpenGl: @@ -289,6 +289,10 @@ static bool _canLoadSharedLibrary(const char* libName) { return true; } + case RenderApiType::CUDA: + { + return true; + } default: break; } #endif |
