Skip to content

Update Slang to 2026.8.1#20

Merged
DominicMaas merged 6 commits into
mainfrom
slang-update/2026.8.1
May 10, 2026
Merged

Update Slang to 2026.8.1#20
DominicMaas merged 6 commits into
mainfrom
slang-update/2026.8.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Auto Generated PR to update Slang to version 2026.8.1

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, and slang_writeCoverageManifestJson binding).
  • Introduced/updated interop structs for specialization arguments, compiler options, and cooperative matrix/vector metadata.
  • Synced CompilerOptionName and headers/slang.h to 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.

Comment thread src/Structs/CoverageEntryInfo.cs Outdated
Comment thread src/Structs/CoverageEntryInfo.cs Outdated
Comment thread src/Structs/CoverageEntryInfo.cs Outdated
Comment thread src/Structs/CoverageBufferInfo.cs Outdated
Help = 4,
HelpStyle = 5,

/// <summary> stringValue: additional include path. </summary>
DominicMaas and others added 4 commits May 11, 2026 10:00
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>
@DominicMaas DominicMaas merged commit 476360d into main May 10, 2026
3 checks passed
@DominicMaas DominicMaas deleted the slang-update/2026.8.1 branch May 10, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants