Test descriptor invalidation against the rules available on win10-test #72

Open
github-bot wants to merge 1 commit from github-bot/gh-72 into win10-test AGit
Owner

@⁠HandshakeHackin on GitHub · 2026-11-26 11:38 UTC · original
HandshakeHackin:test/win10-descriptor-overlaps → win10-test · +32 −105 · 1 files · 1 commits · open

Requested in #37. This is the descriptor-only alternative from 3a648ab, based on win10-test at 23db69d. The only changed file is descriptor/host.rs, inside its test module.

The new test writes over one of two slots at the same address and extends into a neighboring span. It checks both the predicted stale slots and the slots actually invalidated: [2] for the start rule, [2, 3] for overlap, and [] for never. The existing overlap test keeps its assertions and uses the branch’s four-argument Spans::note and by_start map. This also eliminates its dependency on the removed shape helper.

This option replaces the three tests for partial-mip ownership, claims and sweeping. Their matching implementation lives in the other Lab 42 merge parent (47ff7b0). If those features are ported, their original tests belong with them.

Native Windows verification of the two published heads: the GPU library compiled on this PR alone. After a clean Git merge with #37, all 29 active descriptor-module tests passed, including the new overlap check. Two benchmarks were ignored.

The merged descriptor file is identical to the one in the Windows Server 2022 and 2025 integration run, where 214 active GPU tests passed on each with eight ignored. The standalone file differs by #37’s one-line fingerprint test correction. That integration run also included the bounds fix from #27.

**@⁠HandshakeHackin** on GitHub · 2026-11-26 11:38 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/72) `HandshakeHackin:test/win10-descriptor-overlaps` → `win10-test` · +32 −105 · 1 files · 1 commits · open Requested in [#37](https://git.gtahub.st/github/PastiiJay--klbf-lab/pulls/37). This is the descriptor-only alternative from `3a648ab`, based on `win10-test` at `23db69d`. The only changed file is `descriptor/host.rs`, inside its test module. The new test writes over one of two slots at the same address and extends into a neighboring span. It checks both the predicted stale slots and the slots actually invalidated: `[2]` for the start rule, `[2, 3]` for overlap, and `[]` for never. The existing overlap test keeps its assertions and uses the branch’s four-argument `Spans::note` and `by_start` map. This also eliminates its dependency on the removed `shape` helper. This option replaces the three tests for partial-mip ownership, claims and sweeping. Their matching implementation lives in the other Lab 42 merge parent (`47ff7b0`). If those features are ported, their original tests belong with them. [Native Windows verification of the two published heads](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45813450892): the GPU library compiled on this PR alone. After a clean Git merge with #37, all 29 active descriptor-module tests passed, including the new overlap check. Two benchmarks were ignored. The merged descriptor file is identical to the one in the [Windows Server 2022 and 2025 integration run](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45810218314), where 214 active GPU tests passed on each with eight ignored. The standalone file differs by #37’s one-line fingerprint test correction. That integration run also included the bounds fix from #27.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 11:43:08 +00:00
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-26 11:39 UTC · original

Thanks for splitting it out so quickly. With both options in front of us we will pick one for win10-test; if you can, a short note on which you would keep yourself would help us decide.

**@⁠PastiiJay** on GitHub · 2026-11-26 11:39 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/72#issuecomment-7191013881) Thanks for splitting it out so quickly. With both options in front of us we will pick one for `win10-test`; if you can, a short note on which you would keep yourself would help us decide.
Author
Owner

@⁠HandshakeHackin on GitHub · 2026-11-26 11:43 UTC · original

I’d keep #72 for the current win10-test. Its assertions check exactly which slots a write evicts under each rule the branch implements. Porting the other parent’s ownership and sweep code would also change which textures stay live during play. I’d bring that behavior and its three original tests over together if a hardware trace shows the branch needs it.

The indirect dispatch and depth-test repairs in #37 are useful alongside this choice. I checked that the two published heads merge cleanly and preserve the exact descriptor file tested here.

**@⁠HandshakeHackin** on GitHub · 2026-11-26 11:43 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/72#issuecomment-7191087754) I’d keep #72 for the current `win10-test`. Its assertions check exactly which slots a write evicts under each rule the branch implements. Porting the other parent’s ownership and sweep code would also change which textures stay live during play. I’d bring that behavior and its three original tests over together if a hardware trace shows the branch needs it. The indirect dispatch and depth-test repairs in #37 are useful alongside this choice. I checked that the two published heads merge cleanly and preserve the exact descriptor file tested here.
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-26 11:49 UTC · original

Clear, thanks: #72 plus #37 for win10-test, and the ownership/sweep port only if a hardware trace asks for it. We will take them together in the next win10-test round.

**@⁠PastiiJay** on GitHub · 2026-11-26 11:49 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/72#issuecomment-7191215745) Clear, thanks: #72 plus #37 for `win10-test`, and the ownership/sweep port only if a hardware trace asks for it. We will take them together in the next win10-test round.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/72/head:github-bot/gh-72'
git switch 'github-bot/gh-72'

Merge

Merge the changes and update on Forgejo.
git switch 'win10-test'
git merge --no-ff 'github-bot/gh-72'
git switch 'github-bot/gh-72'
git rebase 'win10-test'
git switch 'win10-test'
git merge --ff-only 'github-bot/gh-72'
git switch 'github-bot/gh-72'
git rebase 'win10-test'
git switch 'win10-test'
git merge --no-ff 'github-bot/gh-72'
git switch 'win10-test'
git merge --squash 'github-bot/gh-72'
git switch 'win10-test'
git merge --ff-only 'github-bot/gh-72'
git switch 'win10-test'
git merge 'github-bot/gh-72'
git push origin 'win10-test'
This discussion has been locked. Commenting is limited to contributors.
No description provided.