startup: bind LOD-clamped static samplers (smpl) in the translated compute Dispatch #2577

Merged
NiiRoZz merged 77 commits from upstream-pr/2585 into main 2026-11-26 06:08:14 +00:00
NiiRoZz commented 2026-11-25 22:03:03 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T22:03:03Z.


Depends on #2580. Refs #2274.

What changed

  • src/startup_stubs/d3d12_compute_dispatch.inl: the compute manifest reader accepts smpl <i> <w0> <w1> <w2> <w3> lines, the static sampler with the descriptor's MinLOD and MaxLOD that the translator writes since #2482. They go through the draw path's own code (TranslatedSamplers::read_manifest_line, decode_statics and create_translated_root in translated_sampler_bindings.h), so no second sampler mechanism is added. For compute, the only difference from a draw is that the root signature is set with SetComputeRootSignature; static samplers need nothing else at Dispatch.
  • The forms still not bound now refuse with their own reasons instead of the shared "a sampler that is not a plain static one": smpc gives "a comparison sampler" and smpheap gives "a sampler from the sampler heap". Binding the heap table for compute would need the draw path's sampler snapshot (snapshot_samplers, create_sampler_snapshot_heap) taken from the compute root's sampler heap pointer, SetDescriptorHeaps with the sampler heap, and SetComputeRootDescriptorTable. That is left for the first program that needs it.
  • tests/startup_compute_dispatch_texture_check.py and tests/startup_stream_consumer.cpp: a new filtered case. The existing sampling case uses a 1x1 texture, so it cannot tell filter or address modes apart. The new case puts a constant wrap, linear sampler (MAX_LOD 12, so the translator writes smpl 0 0x0 0xc00000 0x18500000 0x0) in the texture input program. The consumer's new dispatch-sampled-2x1 mode samples a 2x1 RGBA8 texture whose left texel has red 0 and right texel red 1.0, at the left edge. Only a linear filter that wraps reads 0.5 there.
    • Control: the same compiled program with the manifest's sampler changed to clamp reads red 0, which the positive check refuses.
    • Refusals: an smpc line and an added smpheap line each refuse with one logged reason and leave the output untouched.
  • docs/experiments.md: a subsection under the translated compute Dispatch section.

Measured

.\tools\dev.ps1
cmake --preset dev
cmake --build --preset dev
ctest --preset dev --no-tests=error -j1 -R "^startup_compute_dispatch_" -V

Result: 8 of 8 passed (WARP and hardware for startup_compute_dispatch, _texture, _heap and _heap_word), with no capability skips.

  • WARP: Microsoft Basic Render Driver, driver 10.0.26100.10068.
  • Hardware: NVIDIA GeForce RTX 5090, driver 32.0.16.2135.
  • Windows 11 build 26300.10075. Debug layer enabled, no error message.

New filtered case, on both adapters: every thread read red 0.5. With the clamp sampler, every thread read red 0. The smpc and smpheap controls refused with their reasons and left the output untouched.

Negative control for the code change: with the smpl match disabled, startup_compute_dispatch_texture_warp fails. The Dispatch logs refused: a sampler that is not a plain static one.

Local census (counts only): 7 compute programs, about 135 thousand Dispatch calls, refused first for "a sampler that is not a plain static one". All 7 manifests hold only smpl sampler lines: 6 with one line and 1 with two. None has smpc or smpheap. In 6 of the 7, word 0 is 0x92 (clamp in U, V and W). The other uses wrap. When their manifests are read against the new classifier, every line of all 7 is accepted and each has a compiled program, so all 7 now pass manifest loading.

Hypothesis / unverified

  • Not measured: the next refusal of those 7 programs. It would come from the bindings at Dispatch (tables, views, buffer ranges), which reading a manifest cannot show. No title run was made for this change.
  • MinLOD and MaxLOD are carried over by the decoder the draw path already uses. The fixture texture has one mip, so this test does not check the LOD clamp itself.
  • Comparison samplers and sampler heap tables in compute stay unbound.

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6614664004 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2585). Originally posted by [NiiRoZz](https://github.com/NiiRoZz) on 2026-11-25T22:03:03Z. --- Depends on #2580. Refs #2274. ## What changed - `src/startup_stubs/d3d12_compute_dispatch.inl`: the compute manifest reader accepts `smpl <i> <w0> <w1> <w2> <w3>` lines, the static sampler with the descriptor's MinLOD and MaxLOD that the translator writes since #2482. They go through the draw path's own code (`TranslatedSamplers::read_manifest_line`, `decode_statics` and `create_translated_root` in `translated_sampler_bindings.h`), so no second sampler mechanism is added. For compute, the only difference from a draw is that the root signature is set with `SetComputeRootSignature`; static samplers need nothing else at Dispatch. - The forms still not bound now refuse with their own reasons instead of the shared "a sampler that is not a plain static one": `smpc` gives "a comparison sampler" and `smpheap` gives "a sampler from the sampler heap". Binding the heap table for compute would need the draw path's sampler snapshot (`snapshot_samplers`, `create_sampler_snapshot_heap`) taken from the compute root's sampler heap pointer, `SetDescriptorHeaps` with the sampler heap, and `SetComputeRootDescriptorTable`. That is left for the first program that needs it. - `tests/startup_compute_dispatch_texture_check.py` and `tests/startup_stream_consumer.cpp`: a new filtered case. The existing sampling case uses a 1x1 texture, so it cannot tell filter or address modes apart. The new case puts a constant wrap, linear sampler (MAX_LOD 12, so the translator writes `smpl 0 0x0 0xc00000 0x18500000 0x0`) in the texture input program. The consumer's new `dispatch-sampled-2x1` mode samples a 2x1 RGBA8 texture whose left texel has red 0 and right texel red 1.0, at the left edge. Only a linear filter that wraps reads 0.5 there. - Control: the same compiled program with the manifest's sampler changed to clamp reads red 0, which the positive check refuses. - Refusals: an `smpc` line and an added `smpheap` line each refuse with one logged reason and leave the output untouched. - `docs/experiments.md`: a subsection under the translated compute Dispatch section. ## Measured ```powershell .\tools\dev.ps1 cmake --preset dev cmake --build --preset dev ctest --preset dev --no-tests=error -j1 -R "^startup_compute_dispatch_" -V ``` Result: 8 of 8 passed (WARP and hardware for `startup_compute_dispatch`, `_texture`, `_heap` and `_heap_word`), with no capability skips. - WARP: Microsoft Basic Render Driver, driver 10.0.26100.10068. - Hardware: NVIDIA GeForce RTX 5090, driver 32.0.16.2135. - Windows 11 build 26300.10075. Debug layer enabled, no error message. New filtered case, on both adapters: every thread read red 0.5. With the clamp sampler, every thread read red 0. The `smpc` and `smpheap` controls refused with their reasons and left the output untouched. Negative control for the code change: with the `smpl` match disabled, `startup_compute_dispatch_texture_warp` fails. The Dispatch logs `refused: a sampler that is not a plain static one`. Local census (counts only): 7 compute programs, about 135 thousand Dispatch calls, refused first for "a sampler that is not a plain static one". All 7 manifests hold only `smpl` sampler lines: 6 with one line and 1 with two. None has `smpc` or `smpheap`. In 6 of the 7, word 0 is 0x92 (clamp in U, V and W). The other uses wrap. When their manifests are read against the new classifier, every line of all 7 is accepted and each has a compiled program, so all 7 now pass manifest loading. ## Hypothesis / unverified - Not measured: the next refusal of those 7 programs. It would come from the bindings at Dispatch (tables, views, buffer ranges), which reading a manifest cannot show. No title run was made for this change. - MinLOD and MaxLOD are carried over by the decoder the draw path already uses. The fixture texture has one mip, so this test does not check the LOD clamp itself. - Comparison samplers and sampler heap tables in compute stay unbound. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
tedin7 commented 2026-11-25 23:01:55 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T22:06:37Z.

Review: COMMENTED


Review of head 38a752af (comment only, no merge).

Code read: the new smpl branch in src/startup_stubs/d3d12_compute_dispatch.inl (lines ~115-126) reuses TranslatedSamplers::read_manifest_line, which already handles smpl and sets lod_limits (translated_sampler_bindings.h:69-96). The smpc / smpheap checks run before the generic smp fallback, so each refuses with its own reason. The index check i == tr.samplers.statics.size() keeps the manifest order strict. No problem found.

Test: the new filtered case uses a wrap + linear sampler with MAX_LOD 12 and a clamp control, and the author lists a negative control (smpl match disabled makes the texture test fail). Good. As the PR says, the fixture texture has one mip, so the LOD clamp itself is not covered.

Not merge-ready from our side:

  • Stacked on #2580 ("Depends on #2580"), which is still OPEN. The diff against main therefore shows 24 files / 2442 lines, mostly #2580's. It can only be merged after #2580 and a fresh head.
  • It is titled and framed as a startup step (the 7 programs now pass manifest loading). That claim needs the game on the merger's side; we cannot verify it. Merge stays with MasterDomino or @R0Y00.
  • CI was still pending and no Windows run on this head at review time.

Commands run (Linux): git diff --check origin/main...HEAD, python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py (all clean). The D3D12 tests and mutations were not run here (no Windows run in this review).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6065647647 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2585#pullrequestreview-6065647647). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T22:06:37Z. **Review:** COMMENTED --- Review of head 38a752af (comment only, no merge). Code read: the new `smpl` branch in `src/startup_stubs/d3d12_compute_dispatch.inl` (lines ~115-126) reuses `TranslatedSamplers::read_manifest_line`, which already handles `smpl` and sets `lod_limits` (`translated_sampler_bindings.h:69-96`). The `smpc` / `smpheap` checks run before the generic `smp` fallback, so each refuses with its own reason. The index check `i == tr.samplers.statics.size()` keeps the manifest order strict. No problem found. Test: the new filtered case uses a wrap + linear sampler with MAX_LOD 12 and a clamp control, and the author lists a negative control (`smpl` match disabled makes the texture test fail). Good. As the PR says, the fixture texture has one mip, so the LOD clamp itself is not covered. Not merge-ready from our side: - Stacked on #2580 ("Depends on #2580"), which is still OPEN. The diff against main therefore shows 24 files / 2442 lines, mostly #2580's. It can only be merged after #2580 and a fresh head. - It is titled and framed as a startup step (the 7 programs now pass manifest loading). That claim needs the game on the merger's side; we cannot verify it. Merge stays with MasterDomino or @R0Y00. - CI was still pending and no Windows run on this head at review time. Commands run (Linux): `git diff --check origin/main...HEAD`, `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py` (all clean). The D3D12 tests and mutations were not run here (no Windows run in this review). AI-assisted; commands listed were executed locally.
ChazY11 commented 2026-11-25 23:02:08 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T22:55:35Z.


Two device-free checks pass, and five mutations of the heap-index tracking are all caught

python -B tests/startup_gfx2hlsl_heap_record_check.py
    startup_gfx2hlsl_heap_record: PASS (manifest and HLSL exact; 19 refused controls; graphics, manifest and translation …)
python -B tests/startup_gfx2hlsl_heap_word_check.py
    startup_gfx2hlsl_heap_word: PASS (manifest and HLSL exact; 6 more forms; 10 refused controls)

The heap_word check is the new half here: 6 more forms accepted, 10 refused controls. It splits from
heap_record exactly where the change does — heap_record names the record, heap_word names what the index word
is (a root constant word, times a scale, plus an addend, modulo 2³²).

The other three checks in this PR (startup_compute_dispatch_check.py, …_heap_check.py, …_texture_check.py) exit 1
without arguments — they need DXC, an adapter and a dispatch mode, so they are the GPU half and I did not run them.

Mutations of heap_word_offset and the index tracking

mutation caught by
the root-constant branch returns scale 2 instead of 1 heap_word
the root-constant branch removed entirely heap_word
the rc mark no longer recognised (return mark[1:] if … else None → return None) heap_word
heap_index.clear() at a join replaced with pass heap_record and heap_word
any write stops ending a register's mark (wrote = scalar_destinations(…) → set()) heap_record and heap_word

The first three are heap_word's own business and it catches all three, which is what you would want from a check added
specifically for "6 more forms".

The last two are the interesting ones because they are caught by both, and they are the invariants that make the whole
scheme sound:

  • clearing at a join — the comment says "another path into the join may hold a different word". Without the clear, a
    mark from one predecessor survives into a block reachable from another, and the index is named for the wrong word.
  • any write ends a mark — wrote = set() means a later s_mov over the register leaves the stale mark in place, so
    the new value is named by the old word's identity.

Both are invisible unless a fixture has two paths into a join and a write between the naming and the use, and both
fixtures here do.

Note on the two PRs

This PR's gfx2hlsl.py hunk is a superset of the earlier heap-record change I reviewed (heap_record is unchanged apart
from being joined by heap_word), so the mutations above cover the whole current state of the file's heap handling rather
than only the delta. If the two are stacked, the merged result is what I measured.

Method note

Four of my first five anchors missed purely on indentation — I had copied the leading spaces from a git diff excerpt,
where the + prefix shifts the column by one. Anchors taken by line number from the file itself (Get-Content indexed)
all hit. Worth doing that way in a file this size.

AI-assisted; pure Python, Windows 11 build 26300, no DXC or GPU for the rows above.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7176945982 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2585#issuecomment-7176945982). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T22:55:35Z. --- ## Two device-free checks pass, and five mutations of the heap-index tracking are all caught ```text python -B tests/startup_gfx2hlsl_heap_record_check.py startup_gfx2hlsl_heap_record: PASS (manifest and HLSL exact; 19 refused controls; graphics, manifest and translation …) python -B tests/startup_gfx2hlsl_heap_word_check.py startup_gfx2hlsl_heap_word: PASS (manifest and HLSL exact; 6 more forms; 10 refused controls) ``` The `heap_word` check is the new half here: **6 more forms accepted, 10 refused controls**. It splits from `heap_record` exactly where the change does — `heap_record` names the record, `heap_word` names what the *index word* is (a root constant word, times a scale, plus an addend, modulo 2³²). The other three checks in this PR (`startup_compute_dispatch_check.py`, `…_heap_check.py`, `…_texture_check.py`) exit 1 without arguments — they need DXC, an adapter and a dispatch mode, so they are the GPU half and I did not run them. ### Mutations of `heap_word_offset` and the index tracking | mutation | caught by | |---|---| | the root-constant branch returns scale `2` instead of `1` | heap_word | | the root-constant branch removed entirely | heap_word | | the `rc` mark no longer recognised (`return mark[1:] if … else None` → `return None`) | heap_word | | `heap_index.clear()` at a join replaced with `pass` | heap_record **and** heap_word | | any write stops ending a register's mark (`wrote = scalar_destinations(…)` → `set()`) | heap_record **and** heap_word | The first three are `heap_word`'s own business and it catches all three, which is what you would want from a check added specifically for "6 more forms". The last two are the interesting ones because they are caught by **both**, and they are the invariants that make the whole scheme sound: - **clearing at a join** — the comment says "another path into the join may hold a different word". Without the clear, a mark from one predecessor survives into a block reachable from another, and the index is named for the wrong word. - **any write ends a mark** — `wrote = set()` means a later `s_mov` over the register leaves the stale mark in place, so the *new* value is named by the *old* word's identity. Both are invisible unless a fixture has two paths into a join and a write between the naming and the use, and both fixtures here do. ### Note on the two PRs This PR's `gfx2hlsl.py` hunk is a superset of the earlier heap-record change I reviewed (`heap_record` is unchanged apart from being joined by `heap_word`), so the mutations above cover the whole current state of the file's heap handling rather than only the delta. If the two are stacked, the merged result is what I measured. ### Method note Four of my first five anchors missed purely on indentation — I had copied the leading spaces from a `git diff` excerpt, where the `+` prefix shifts the column by one. Anchors taken by line number from the file itself (`Get-Content` indexed) all hit. Worth doing that way in a file this size. AI-assisted; pure Python, Windows 11 build 26300, no DXC or GPU for the rows above.
tedin7 commented 2026-11-26 06:02:09 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T05:56:22Z.


Not merging yet: this branch still carries the commits of two open PRs, so it cannot land on its own.

  • The head contains the head commit of #2490 (translated compute Dispatch with 2D texture views and static samplers), which is still open. Checked with git merge-base --is-ancestor <#2490 head> <this head>: yes.
  • #2470 (raw table buffers) and #2596 are also open and in the same compute Dispatch chain.
  • #2580 is merged, but merging main into this branch gives add/add conflicts in d3d12_compute_dispatch.inl, startup_compute_dispatch_check.py, startup_compute_dispatch_texture_check.py and conflicts in startup_stream_consumer.cpp, d3d12_xs_device.cpp, gfx2hlsl.py, docs/experiments.md, CMakeLists.txt, AGENTS.md. The pre-squash copies of the chain are what collides with main.

Suggested path for @NiiRoZz: land #2470 and #2490 first (or rebuild this branch from current main so only the smpl change is left in the diff), then this PR shrinks to the sampler part and can be tested on its own.

No push was made to the branch. No test was run on this head.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7183941746 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2585#issuecomment-7183941746). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T05:56:22Z. --- Not merging yet: this branch still carries the commits of two open PRs, so it cannot land on its own. - The head contains the head commit of #2490 (translated compute Dispatch with 2D texture views and static samplers), which is still open. Checked with `git merge-base --is-ancestor <#2490 head> <this head>`: yes. - #2470 (raw table buffers) and #2596 are also open and in the same compute Dispatch chain. - #2580 is merged, but merging main into this branch gives add/add conflicts in `d3d12_compute_dispatch.inl`, `startup_compute_dispatch_check.py`, `startup_compute_dispatch_texture_check.py` and conflicts in `startup_stream_consumer.cpp`, `d3d12_xs_device.cpp`, `gfx2hlsl.py`, `docs/experiments.md`, `CMakeLists.txt`, `AGENTS.md`. The pre-squash copies of the chain are what collides with main. Suggested path for @NiiRoZz: land #2470 and #2490 first (or rebuild this branch from current main so only the `smpl` change is left in the diff), then this PR shrinks to the sampler part and can be tested on its own. No push was made to the branch. No test was run on this head. AI-assisted; commands listed were executed locally.
upstream-sync closed this pull request 2026-11-26 07:00:10 +00:00
tedin7 commented 2026-11-26 07:00:10 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T06:05:47Z.

Review: COMMENTED


Merged origin/main into this branch (merge commit 03aa5ffc8, no force, no rebase). Conflicts were the pre-squash copies of the compute Dispatch chain; #2470 and #2490 are already in main via #2532 (checked by sm3, confirmed by MasterDomino in the #2470 thread), so I kept main's side everywhere and kept only this PR's own smpl change. git diff origin/main --stat now shows 4 files only: d3d12_compute_dispatch.inl (+7), startup_stream_consumer.cpp, startup_compute_dispatch_texture_check.py, docs/experiments.md.

Review of what is left:

  • smp and smpl lines go through the draw path's read_manifest_line; smpc and smpheap refuse with their own reasons. Sound.
  • The new filtered case (2x1 texture, wrap + linear sampler reads 0.5 at the left edge; clamp control reads 0; smpc/smpheap refused with one logged reason, output untouched) guards the behaviour: point or clamp would read 0.

Verification (Windows Server 2025, merged head 03aa5ffc8, applied on top of the PR head):

  • dev: ctest --preset dev -R '^startup_compute_dispatch_': 100% tests passed out of 8 (warp and hardware for dispatch, texture, heap, heap_word).
  • release: ctest --preset release -R '^startup_compute_dispatch_' --no-tests=error: 8/8 passed.
  • Linux: python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py, git diff --check origin/main...HEAD: clean.
  • RTX 3090: not available (pod full).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6069282957 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2585#pullrequestreview-6069282957). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T06:05:47Z. **Review:** COMMENTED --- Merged origin/main into this branch (merge commit 03aa5ffc8, no force, no rebase). Conflicts were the pre-squash copies of the compute Dispatch chain; #2470 and #2490 are already in main via #2532 (checked by sm3, confirmed by MasterDomino in the #2470 thread), so I kept main's side everywhere and kept only this PR's own `smpl` change. `git diff origin/main --stat` now shows 4 files only: `d3d12_compute_dispatch.inl` (+7), `startup_stream_consumer.cpp`, `startup_compute_dispatch_texture_check.py`, `docs/experiments.md`. Review of what is left: - `smp` and `smpl` lines go through the draw path's `read_manifest_line`; `smpc` and `smpheap` refuse with their own reasons. Sound. - The new filtered case (2x1 texture, wrap + linear sampler reads 0.5 at the left edge; clamp control reads 0; `smpc`/`smpheap` refused with one logged reason, output untouched) guards the behaviour: point or clamp would read 0. Verification (Windows Server 2025, merged head 03aa5ffc8, applied on top of the PR head): - dev: `ctest --preset dev -R '^startup_compute_dispatch_'`: 100% tests passed out of 8 (warp and hardware for dispatch, texture, heap, heap_word). - release: `ctest --preset release -R '^startup_compute_dispatch_' --no-tests=error`: 8/8 passed. - Linux: `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`, `git diff --check origin/main...HEAD`: clean. - RTX 3090: not available (pod full). AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 07:00:26 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T06:05:12Z.


Merged origin/main into this branch (merge commit 03aa5ffc8, no force, no rebase). Conflicts were the pre-squash copies of the compute Dispatch chain; #2470 and #2490 are already in main via #2532 (checked by sm3, confirmed by MasterDomino in the #2470 thread), so I kept main's side everywhere and kept only this PR's own smpl change. git diff origin/main --stat now shows 4 files only: d3d12_compute_dispatch.inl (+7), startup_stream_consumer.cpp, startup_compute_dispatch_texture_check.py, docs/experiments.md.

Review of what is left:

  • smp and smpl lines go through the draw path's read_manifest_line; smpc and smpheap refuse with their own reasons. Sound.
  • The new filtered case (2x1 texture, wrap + linear sampler reads 0.5 at the left edge; clamp control reads 0; smpc/smpheap refused with one logged reason, output untouched) guards the behaviour: point or clamp would read 0.

Verification (Windows Server 2025, merged head 03aa5ffc8, applied on top of the PR head):

  • dev: ctest --preset dev -R '^startup_compute_dispatch_': 100% tests passed out of 8 (warp and hardware for dispatch, texture, heap, heap_word).
  • release: ctest --preset release -R '^startup_compute_dispatch_' --no-tests=error: 8/8 passed.
  • Linux: python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py, git diff --check origin/main...HEAD: clean.
  • RTX 3090: not available (pod full).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7184079112 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2585#issuecomment-7184079112). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T06:05:12Z. --- Merged origin/main into this branch (merge commit 03aa5ffc8, no force, no rebase). Conflicts were the pre-squash copies of the compute Dispatch chain; #2470 and #2490 are already in main via #2532 (checked by sm3, confirmed by MasterDomino in the #2470 thread), so I kept main's side everywhere and kept only this PR's own `smpl` change. `git diff origin/main --stat` now shows 4 files only: `d3d12_compute_dispatch.inl` (+7), `startup_stream_consumer.cpp`, `startup_compute_dispatch_texture_check.py`, `docs/experiments.md`. Review of what is left: - `smp` and `smpl` lines go through the draw path's `read_manifest_line`; `smpc` and `smpheap` refuse with their own reasons. Sound. - The new filtered case (2x1 texture, wrap + linear sampler reads 0.5 at the left edge; clamp control reads 0; `smpc`/`smpheap` refused with one logged reason, output untouched) guards the behaviour: point or clamp would read 0. Verification (Windows Server 2025, merged head 03aa5ffc8, applied on top of the PR head): - dev: `ctest --preset dev -R '^startup_compute_dispatch_'`: 100% tests passed out of 8 (warp and hardware for dispatch, texture, heap, heap_word). - release: `ctest --preset release -R '^startup_compute_dispatch_' --no-tests=error`: 8/8 passed. - Linux: `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`, `git diff --check origin/main...HEAD`: clean. - RTX 3090: not available (pod full). AI-assisted; commands listed were executed locally.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2577
No description provided.