Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Then compile a shader and reflect on it:

```java
import io.github.refux.slang.*;
import io.github.refux.slang.Module; // disambiguates from java.lang.Module

try (GlobalSession global = Slang.createGlobalSession();
Session session = global.newSession()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public int findProfile(String name) {
return ffi().findProfile(name);
}

/** The Slang build tag of the loaded native library, e.g. {@code "2026.13"}. */
/** The Slang build tag of the loaded native library, e.g. {@code "2026.14.1"}. */
public String buildTagString() {
return ffi().getBuildTagString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public final class SlangNative {
private SlangNative() {}

/** Returns the build tag of the loaded Slang library, e.g. {@code "2026.13"}. */
/** Returns the build tag of the loaded Slang library, e.g. {@code "2026.14.1"}. */
public static String spGetBuildTagString() {
return readUtf8(SlangAPI.spGetBuildTagString());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ private static String currentArch() {
* Picks the Slang compiler library file inside {@code dir}. Tries the exact platform names
* first ({@code libslang-compiler.dylib}, {@code slang-compiler.dll}, …, then the legacy
* {@code slang} names), and falls back to version-suffixed files such as
* {@code libslang-compiler.0.2026.13.dylib} — official archives may not preserve the
* {@code libslang-compiler.0.2026.14.1.dylib} — official archives may not preserve the
* unversioned symlink. The prefix match is written so companion libraries
* ({@code libslang-glslang}, {@code libslang-rt}, …) can never be picked up by mistake.
*/
Expand Down