Update Slang to 2026.8.1#20
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Slang bindings to align with Slang 2026.8.1, adding newly introduced API surface (coverage tracing metadata + manifest serialization, additional compiler options, and new struct definitions) and syncing the vendored slang.h.
Changes:
- Added coverage tracing support (
ICoverageTracingMetadata, coverage structs, andslang_writeCoverageManifestJsonbinding). - Introduced/updated interop structs for specialization arguments, compiler options, and cooperative matrix/vector metadata.
- Synced
CompilerOptionNameandheaders/slang.hto include new options (e.g.,TraceCoverage*) and new interfaces/structs.
Reviewed changes
Copilot reviewed 6 out of 27 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Structs/SpecializationArg.cs | Adds SpecializationArg and a custom marshaller for the new Slang specialization-arg ABI. |
| src/Structs/SourceLocation.cs | Adds SourceLocation struct + marshaller for source-location queries. |
| src/Structs/SlangReflectionGenericArg.cs | Adds union-like struct for generic specialization arguments in reflection APIs. |
| src/Structs/CoverageEntryInfo.cs | Adds coverage entry attribution struct + marshalling. |
| src/Structs/CoverageBufferInfo.cs | Adds coverage buffer binding info struct + marshalling. |
| src/Structs/CooperativeVectorTypeUsageInfo.cs | Adds cooperative vector usage info struct. |
| src/Structs/CooperativeVectorCombination.cs | Adds cooperative vector combination struct. |
| src/Structs/CooperativeMatrixType.cs | Adds cooperative matrix type struct. |
| src/Structs/CooperativeMatrixCombination.cs | Adds cooperative matrix combination struct. |
| src/Structs/CompilerOptionValue.cs | Adds CompilerOptionValue struct + marshaller to match new header shape. |
| src/Structs/CompilerOptionEntry.cs | Adds CompilerOptionEntry struct + marshaller (including array helpers). |
| src/Slang.cs | Updates blob overload docs and adds WriteCoverageManifestJson P/Invoke. |
| src/ICoverageTracingMetadata.cs | Adds the new COM interface for coverage tracing metadata. |
| src/Enums/CompilerOptionName.cs | Extends compiler option enum with new options + extra doc comments. |
| headers/slang.h | Updates vendored Slang header to 2026.8.1 (new options, structs, and interfaces). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Help = 4, | ||
| HelpStyle = 5, | ||
|
|
||
| /// <summary> stringValue: additional include path. </summary> |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto Generated PR to update Slang to version 2026.8.1