I get a runtime assertion failure unless I replace:
Slang::ComPtr<slang::IModule> slangModule{ slangSession->loadModuleFromSource("triangle", "assets/shader.slang", nullptr, nullptr) };
with this line:
Slang::ComPtr<slang::IModule> slangModule{ slangSession->loadModule( "assets/shader.slang", nullptr) };
Using diagnostics it gives me this: assert failure: slang-session.cpp(56): blob
I'm not sure whether this is expected behavior on Linux or whether there is something specific about my configuration that I'm missing. Anyway, I just wanted to report this in case this information is useful for someone.
Environment:
Ubuntu 24.04.4
Vulkan SDK 1.4.357.1
GCC 14
GLM 1.0.3
SDL3 3.2.31
Slang 2026.13.1-1-g84792eb15
I get a runtime assertion failure unless I replace:
Slang::ComPtr<slang::IModule> slangModule{ slangSession->loadModuleFromSource("triangle", "assets/shader.slang", nullptr, nullptr) };with this line:
Slang::ComPtr<slang::IModule> slangModule{ slangSession->loadModule( "assets/shader.slang", nullptr) };Using diagnostics it gives me this:
assert failure: slang-session.cpp(56): blobI'm not sure whether this is expected behavior on Linux or whether there is something specific about my configuration that I'm missing. Anyway, I just wanted to report this in case this information is useful for someone.
Environment:
Ubuntu 24.04.4
Vulkan SDK 1.4.357.1
GCC 14
GLM 1.0.3
SDL3 3.2.31
Slang 2026.13.1-1-g84792eb15