summaryrefslogtreecommitdiffstats
path: root/source/core/slang-render-api-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-render-api-util.cpp')
-rw-r--r--source/core/slang-render-api-util.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/core/slang-render-api-util.cpp b/source/core/slang-render-api-util.cpp
index 9dff5e90c..797d82cd7 100644
--- a/source/core/slang-render-api-util.cpp
+++ b/source/core/slang-render-api-util.cpp
@@ -267,17 +267,9 @@ static bool _canLoadSharedLibrary(const char* libName)
#if SLANG_WINDOWS_FAMILY
case RenderApiType::Vulkan: return _canLoadSharedLibrary("vulkan-1") || _canLoadSharedLibrary("vk_swiftshader");
case RenderApiType::WebGPU:
-#if _DEBUG
- // At the moment, some CI issue is preventing tests to run in Debug builds.
- // As a work-around in order to allow us to enable tests in Release builds ASSP,
- // we skip WebGPU tests in by returning false here.
- // https://github.com/shader-slang/slang/issues/5233#issuecomment-2411380030
- return false;
-#else
return _canLoadSharedLibrary("webgpu_dawn") &&
_canLoadSharedLibrary("dxcompiler") &&
_canLoadSharedLibrary("dxil");
-#endif // if SLANG_DEBUG
#elif SLANG_APPLE_FAMILY
case RenderApiType::Vulkan: return true;
case RenderApiType::Metal: return true;