Skip to content

Qualify .NET 10/11 and align native bindings with retail Agility - #37

Merged
atcarter714 merged 2 commits into
mainfrom
sprint/runtime-retail-baseline
Nov 19, 2026
Merged

atcarter714 merged 2 commits into
mainfrom
sprint/runtime-retail-baseline

Conversation

@atcarter714

@atcarter714 atcarter714 commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Preview 2's native declarations stopped at an older WinMD baseline and the SDK shipped only .NET 10 assets. This aligns the next candidate with retail Agility 1.620.2 and adds qualified .NET 10/11 package/runtime paths.

  • Multi-target Native, Core, Assets, DirectML and Desktop; pin SDK 11.0.100 and retain .NET 10 sample defaults. Add .NET 11 sample selection and separate lock files.
  • Select Agility's modular D3D12 metadata through Win32Metadata 71.0.45-preview/CsWin32 0.3.371. Account for all 107 missing D3D12 type names: 752/752 types and 4882/4882 measured member names.
  • Compare interface GUID attributes as well as names. Fail required missing metadata and overlapping inputs; verify failure paths using a changed IID in a non-executable temporary assembly copy.
  • Reserve command allocators during recording, reject invalid list/allocator reuse before native calls, and release native lists before their retained recording dependencies. Add Windows/WARP lifecycle regression checks.
  • Expand GitHub/Azure qualification, package consumers and all runnable samples to both runtimes; preserve per-runtime evidence and neutral preview version naming.
  • Document the support matrix and the native surface changes, including older shared shader-cache names absent from the selected metadata. This is a preview API compatibility change.

Validation: qualification run 44466455554 passed all six jobs: Windows Debug/Release, and .NET 10/11 native COM JIT/NativeAOT on Windows and Linux. Windows jobs also passed both full WARP sample suites, both-runtime clean package consumers, all 12 package-based sample builds, numerical/pixel checks and allocator ownership regressions. Native fixtures passed 2,298 checks with no live objects. The release package set and both-framework DLL/XML assets were verified. Local Release compilation, both JIT fixtures, native coverage failure cases and the .NET 11 package-based sample build also passed.

This implements the first integration slice of #32. Full signature/layout/inheritance coverage and additional hardware qualification remain explicit follow-up work. It does not claim complete Windows API or toolkit parity. No proprietary dependency is introduced.

@atcarter714
atcarter714 marked this pull request as ready for review November 19, 2026 05:47
@atcarter714
atcarter714 merged commit 1febbed into main Nov 19, 2026
6 checks passed
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.

1 participant