D3D12.X: a texture placed over a GPU-owned one leaves it its tiles #3691

Open
vasanex wants to merge 1 commit from upstream-pr/3691 into main
vasanex commented 2026-12-02 13:22:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vasanex on 2026-12-02T13:22:07Z.


A texture registered over another range of an older placed texture unmaps the older one's tiles. That also hit a GPU-owned texture (a render target or UAV texture, register_gpu_owned) when the title places a sampled texture of another format in its memory and XG sizes the two differently (R9G9B9E5 over R32_UINT at 1280x720: 0x3c0000 against 0x384000 bytes). The written texture then lost the tiles under what the GPU had written. This leaves a GPU-owned texture its tiles; a sampled texture over another range of a sampled one is unmapped as before.

What is in it

  • crates/xcl/src/hle/d3d12x/title_textures.rs: Table::insert unmaps a superseded texture of another range only when it is CPU-backed, also for an already shadowed sibling; a test of both (a_sampled_texture_over_a_gpu_owned_one_of_another_size_leaves_its_tiles), which fails without the change.
  • the same file: a GPU test, a_gpu_owned_texture_reads_what_the_gpu_wrote_after_a_sampled_one_of_another_size. On a real device it places an R32_UINT UAV texture and an R9G9B9E5 sampled one at one address of the title's memory (1280x720, 0x384000 and 0x3c0000 bytes), lets the next submits run, has the GPU write into the UAV texture and reads it back. It needs tiled resources tier 2 and no reserved cube with mips.

Tested

  • NVIDIA GeForce RTX 3080 10 GB (driver 621.40), AMD Ryzen 9 7950X, Windows 11 Pro 26200, rustc 1.100.0, debug suite and release smoke
  • cargo build --workspace: ok; cargo test --workspace --no-fail-fast -- --test-threads=4 (debug) on this head: 2913 passed, 0 failed, 51 ignored. A first run on this head ended early: the lib test process exited with 0x7C10003 in the uma_driver mixed-window tests (the failure #3187 is about), after this PR's tests had passed; the counts are from the rerun
  • SKIPPED on this adapter: 25 (22 no wave64, 2 no heap windows, 1 cannot disable the driver cache), the same tests as on main
  • The GPU test on this card: all 921600 texels the GPU wrote are read back with the change; with the two old.cpu_backed conditions taken out, all 921600 read zero.
  • 60 s of a retail title, release, default settings: see below
  • In a title's world, on a private test line (main 1c8b5514 + #3094 + #3528 + pair pages and non-default memory switches, so not this branch alone): flat rectangles in the lighting over part of the picture in 3 of 3 runs without the change, in 0 of 2 runs with it; no device removal or crash in either.

Regression run
main:

xcl-smoke v1
commit: df0cfef638306f325b208e5adae18d35ab4bf4ed
gpu: NVIDIA GeForce RTX 3080
title: aaa95fa3
seconds: 60
exit: 0x0
frames shown: 1697 (PresentX 1697)
presents per 2 s (last 3): 60 61 60
device removals: 0
crashes: 0
peak commit: 18317 MB

this PR's head:

xcl-smoke v1
commit: a3c51d93d26b022e1f6f2783c7bdd6c69b3acc9a
gpu: NVIDIA GeForce RTX 3080
title: aaa95fa3
seconds: 60
exit: 0x0
frames shown: 1690 (PresentX 1690)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 20373 MB

Not tested

  • AMD; a title run of this branch alone in the world (the effect was seen only with alias copies, #3094, which is not merged); the GPU test on any other card than the RTX 3080.
  • What the GPU wrote into the texture before the sampled one was placed: on main the sampled texture's first upload from the title's memory goes over the shared tiles, with and without this change, so the GPU test checks what the GPU writes afterwards. Not changed here.

AI use

  • Claude Code with Claude Fable 5.2: found the cause, wrote the change, the test and this description, and ran the tests.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5607277793 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691). Originally posted by [vasanex](https://github.com/vasanex) on 2026-12-02T13:22:07Z. --- A texture registered over another range of an older placed texture unmaps the older one's tiles. That also hit a GPU-owned texture (a render target or UAV texture, `register_gpu_owned`) when the title places a sampled texture of another format in its memory and XG sizes the two differently (R9G9B9E5 over R32_UINT at 1280x720: 0x3c0000 against 0x384000 bytes). The written texture then lost the tiles under what the GPU had written. This leaves a GPU-owned texture its tiles; a sampled texture over another range of a sampled one is unmapped as before. **What is in it** - `crates/xcl/src/hle/d3d12x/title_textures.rs`: `Table::insert` unmaps a superseded texture of another range only when it is CPU-backed, also for an already shadowed sibling; a test of both (`a_sampled_texture_over_a_gpu_owned_one_of_another_size_leaves_its_tiles`), which fails without the change. - the same file: a GPU test, `a_gpu_owned_texture_reads_what_the_gpu_wrote_after_a_sampled_one_of_another_size`. On a real device it places an R32_UINT UAV texture and an R9G9B9E5 sampled one at one address of the title's memory (1280x720, 0x384000 and 0x3c0000 bytes), lets the next submits run, has the GPU write into the UAV texture and reads it back. It needs tiled resources tier 2 and no reserved cube with mips. **Tested** - NVIDIA GeForce RTX 3080 10 GB (driver 621.40), AMD Ryzen 9 7950X, Windows 11 Pro 26200, rustc 1.100.0, debug suite and release smoke - `cargo build --workspace`: ok; `cargo test --workspace --no-fail-fast -- --test-threads=4` (debug) on this head: 2913 passed, 0 failed, 51 ignored. A first run on this head ended early: the lib test process exited with 0x7C10003 in the `uma_driver` mixed-window tests (the failure #3187 is about), after this PR's tests had passed; the counts are from the rerun - SKIPPED on this adapter: 25 (22 no wave64, 2 no heap windows, 1 cannot disable the driver cache), the same tests as on main - The GPU test on this card: all 921600 texels the GPU wrote are read back with the change; with the two `old.cpu_backed` conditions taken out, all 921600 read zero. - 60 s of a retail title, release, default settings: see below - In a title's world, on a private test line (main 1c8b5514 + #3094 + #3528 + pair pages and non-default memory switches, so not this branch alone): flat rectangles in the lighting over part of the picture in 3 of 3 runs without the change, in 0 of 2 runs with it; no device removal or crash in either. **Regression run** main: ``` xcl-smoke v1 commit: df0cfef638306f325b208e5adae18d35ab4bf4ed gpu: NVIDIA GeForce RTX 3080 title: aaa95fa3 seconds: 60 exit: 0x0 frames shown: 1697 (PresentX 1697) presents per 2 s (last 3): 60 61 60 device removals: 0 crashes: 0 peak commit: 18317 MB ``` this PR's head: ``` xcl-smoke v1 commit: a3c51d93d26b022e1f6f2783c7bdd6c69b3acc9a gpu: NVIDIA GeForce RTX 3080 title: aaa95fa3 seconds: 60 exit: 0x0 frames shown: 1690 (PresentX 1690) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 20373 MB ``` **Not tested** - AMD; a title run of this branch alone in the world (the effect was seen only with alias copies, #3094, which is not merged); the GPU test on any other card than the RTX 3080. - What the GPU wrote into the texture *before* the sampled one was placed: on `main` the sampled texture's first upload from the title's memory goes over the shared tiles, with and without this change, so the GPU test checks what the GPU writes afterwards. Not changed here. **AI use** - Claude Code with Claude Fable 5.2: found the cause, wrote the change, the test and this description, and ran the tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Foniass commented 2026-12-02 13:27:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T13:27:28Z.


Review (head 15771602, diff read, not a merge-check; draft):

No problems found in the diff. Checked that Table::insert (title_textures.rs) now unmaps a superseded texture only when it is cpu_backed, in both the active and the shadowed-sibling cases, leaving GPU-owned targets to placements::placed, which supersedes one of another shape with a delayed unmap and remaps it on use, and leaves a same-texel view (R9G9B9E5 over R32_UINT) mapped; that Table::remove reactivates the shadowed target without a remap, which is right since its tiles were never unmapped; that retire_overlapping / retire_range are unchanged; and that the new test fails without either hunk. The doc comment on Table::insert (~321-326) still says every placed entry superseded by a different range is returned in to_unmap; it is now only the CPU-backed ones.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7346910098 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7346910098). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T13:27:28Z. --- Review (head 15771602, diff read, not a merge-check; draft): No problems found in the diff. Checked that `Table::insert` (`title_textures.rs`) now unmaps a superseded texture only when it is `cpu_backed`, in both the active and the shadowed-sibling cases, leaving GPU-owned targets to `placements::placed`, which supersedes one of another shape with a delayed unmap and remaps it on use, and leaves a same-texel view (R9G9B9E5 over R32_UINT) mapped; that `Table::remove` reactivates the shadowed target without a remap, which is right since its tiles were never unmapped; that `retire_overlapping` / `retire_range` are unchanged; and that the new test fails without either hunk. The doc comment on `Table::insert` (~321-326) still says every placed entry superseded by a different range is returned in `to_unmap`; it is now only the CPU-backed ones. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Foniass commented 2026-12-02 14:00:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T14:00:56Z.


Follow-up review (head 1f2fc846, since 15771602, diff read, not a merge-check):

  • Stale doc comment on Table::insert: fixed; it now says only CPU-backed entries are returned in to_unmap and why a GPU-owned one keeps its tiles.

New: none.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7347840951 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7347840951). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T14:00:56Z. --- Follow-up review (head 1f2fc846, since 15771602, diff read, not a merge-check): - **Stale doc comment on `Table::insert`:** fixed; it now says only CPU-backed entries are returned in `to_unmap` and why a GPU-owned one keeps its tiles. New: none. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Pipodi commented 2026-12-02 15:59:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Pipodi on 2026-12-02T15:59:50Z.


merge-check
base: 5eaadb54c1
head: 1f2fc84690
merge: clean (merge commit 0a278db7, title_textures.rs only, +29/-4)
build: cargo build --workspace -> ok (also cargo test --workspace --no-run and cargo build --release -p xcl on the clean head)
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2975 passed, 0 failed, 52 ignored; failing: none. 25 SKIPPED lines: 22 "no wave64", 2 "no heap windows", 1 "cannot disable the driver cache". The new test a_sampled_texture_over_a_gpu_owned_one_of_another_size_leaves_its_tiles passes, and fails with the two old.cpu_backed conditions taken out (checked here, cargo test -p xcl --lib).
review: no blocking finding; whole diff read, with Table::insert/remove, retire_range, register_gpu_owned, vram::place and placements::placed/supersedes.

  1. The change is consistent with placements: a GPU-owned target on the pages is already superseded there (supersedes, called from vram::place before register_gpu_owned), with the held unmap, the remap on use, and the same-address same-texels exception (same_view, the R9G9B9E5 over R32_UINT case) that Table::insert did not have. After this PR, title_textures retires only CPU-backed entries, as the supersedes doc comment already says ("An older sampled texture is retired by title_textures"). remove reactivates a shadowed GPU-owned entry without a remap, which is right because title_textures no longer unmapped it.
  2. Scope is wider than the title says: it is not only a sampled texture over a target. A GPU-owned target placed over another GPU-owned target with a different range also goes through register_gpu_owned -> Table::insert, and main unmapped the older one there too, via unmap_superseded (pages cool at once). Now only placements does it, via unmap_superseded_target: the pages it alone held stay IDLE (2 s) with their contents. With XCL_PLACE_RETIRE=0, nothing unmaps it until the title releases it. This is the likely cause of the higher peak commit below. It is not a correctness problem.
  3. A sampled texture over another range of a sampled one is unmapped as before (the test covers it, also through a shadowed sibling). So a sampled view that a later neighbour supersedes still loses its tiles.
    Foniass's two reviews (15771602, 1f2fc846) are not merge checks; the stale doc-comment point is fixed on this head.
    performance: measured, no regression by the criteria; memory up. Retail title, 60 s, XCL_PREPARE=0, the same scripted presses, one warm-up run per side, gamesave moved aside before each run: frames 1690 vs main's 1609 (105.0 %), peak commit 20454 vs 18303 MB (111.8 %, under 125 %), no device removal or crash on either side. The author's pair on an RTX 3080 shows the same rise (20490 vs 18317 MB, 111.9 %). Reasoned: point 2, a superseded target's pages are held 2 s longer instead of cooling at once. No per-frame cost: the change only removes an unmap.

main 5eaadb54:

xcl-smoke v1
commit: 5eaadb54c14e0fc29597b2a1689d7dbd83491303
gpu: NVIDIA GeForce RTX 4090
title: 21222967
seconds: 60
exit: 0x0
frames shown: 1609 (PresentX 1609)
presents per 2 s (last 3): 60 60 61
device removals: 0
crashes: 0
peak commit: 18303 MB

this PR 1f2fc846 (clean checkout):

xcl-smoke v1
commit: 1f2fc846902c927a8f995bc88723e980c0e9c3a4
gpu: NVIDIA GeForce RTX 4090
title: 21222967
seconds: 60
exit: 0x0
frames shown: 1690 (PresentX 1690)
presents per 2 s (last 3): 60 60 61
device removals: 0
crashes: 0
peak commit: 20454 MB

verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 4090 24 GB, driver 621.40; Intel Core i9-13900K, 32 GB; Windows 11 build 26300; rustc 1.100.0; tests debug, smoke release. Claude Code, Claude Opus 5.5 read the diff, ran the build, the suite and the smoke run of the head (main's block is from an earlier run of 5eaadb54 on the same machine today), and wrote this check.

<!-- greyfinch-sync:ivall/xcl:comment:7351276624 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7351276624). Originally posted by [Pipodi](https://github.com/Pipodi) on 2026-12-02T15:59:50Z. --- merge-check base: 5eaadb54c14e0fc29597b2a1689d7dbd83491303 head: 1f2fc846902c927a8f995bc88723e980c0e9c3a4 merge: clean (merge commit 0a278db7, title_textures.rs only, +29/-4) build: cargo build --workspace -> ok (also `cargo test --workspace --no-run` and `cargo build --release -p xcl` on the clean head) tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2975 passed, 0 failed, 52 ignored; failing: none. 25 SKIPPED lines: 22 "no wave64", 2 "no heap windows", 1 "cannot disable the driver cache". The new test `a_sampled_texture_over_a_gpu_owned_one_of_another_size_leaves_its_tiles` passes, and fails with the two `old.cpu_backed` conditions taken out (checked here, `cargo test -p xcl --lib`). review: no blocking finding; whole diff read, with `Table::insert`/`remove`, `retire_range`, `register_gpu_owned`, `vram::place` and `placements::placed`/`supersedes`. 1) The change is consistent with `placements`: a GPU-owned target on the pages is already superseded there (`supersedes`, called from `vram::place` before `register_gpu_owned`), with the held unmap, the remap on use, and the same-address same-texels exception (`same_view`, the R9G9B9E5 over R32_UINT case) that `Table::insert` did not have. After this PR, `title_textures` retires only CPU-backed entries, as the `supersedes` doc comment already says ("An older sampled texture is retired by `title_textures`"). `remove` reactivates a shadowed GPU-owned entry without a remap, which is right because `title_textures` no longer unmapped it. 2) Scope is wider than the title says: it is not only a sampled texture over a target. A GPU-owned target placed over another GPU-owned target with a different range also goes through `register_gpu_owned` -> `Table::insert`, and main unmapped the older one there too, via `unmap_superseded` (pages cool at once). Now only `placements` does it, via `unmap_superseded_target`: the pages it alone held stay `IDLE` (2 s) with their contents. With `XCL_PLACE_RETIRE=0`, nothing unmaps it until the title releases it. This is the likely cause of the higher peak commit below. It is not a correctness problem. 3) A sampled texture over another range of a sampled one is unmapped as before (the test covers it, also through a shadowed sibling). So a sampled view that a later neighbour supersedes still loses its tiles. Foniass's two reviews (15771602, 1f2fc846) are not merge checks; the stale doc-comment point is fixed on this head. performance: measured, no regression by the criteria; memory up. Retail title, 60 s, XCL_PREPARE=0, the same scripted presses, one warm-up run per side, gamesave moved aside before each run: frames 1690 vs main's 1609 (105.0 %), peak commit 20454 vs 18303 MB (111.8 %, under 125 %), no device removal or crash on either side. The author's pair on an RTX 3080 shows the same rise (20490 vs 18317 MB, 111.9 %). Reasoned: point 2, a superseded target's pages are held 2 s longer instead of cooling at once. No per-frame cost: the change only removes an unmap. main 5eaadb54: ``` xcl-smoke v1 commit: 5eaadb54c14e0fc29597b2a1689d7dbd83491303 gpu: NVIDIA GeForce RTX 4090 title: 21222967 seconds: 60 exit: 0x0 frames shown: 1609 (PresentX 1609) presents per 2 s (last 3): 60 60 61 device removals: 0 crashes: 0 peak commit: 18303 MB ``` this PR 1f2fc846 (clean checkout): ``` xcl-smoke v1 commit: 1f2fc846902c927a8f995bc88723e980c0e9c3a4 gpu: NVIDIA GeForce RTX 4090 title: 21222967 seconds: 60 exit: 0x0 frames shown: 1690 (PresentX 1690) presents per 2 s (last 3): 60 60 61 device removals: 0 crashes: 0 peak commit: 20454 MB ``` verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 4090 24 GB, driver 621.40; Intel Core i9-13900K, 32 GB; Windows 11 build 26300; rustc 1.100.0; tests debug, smoke release. Claude Code, Claude Opus 5.5 read the diff, ran the build, the suite and the smoke run of the head (main's block is from an earlier run of 5eaadb54 on the same machine today), and wrote this check.
stijn-boer commented 2026-12-02 18:05:58 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by stijn-boer on 2026-12-02T18:05:58Z.


merge-check
base: 817eb1fc9f
head: 1f2fc84690
verdict: not yet: the focused alias table checks passed and no new failure appeared in comparable workspace results. Both trees exited early. GPU-written contents in the changed alias case still needed pixel readback.

Windows / AMD RDNA4 (native D3D12) — GPU-owned texture alias checks on 1f2fc84

Clean merge onto main at 817eb1f (merge commit a7027764c1955b6a95f134fc26d43c3cebce346c). git diff --check was clean.

Setup

  • AMD Radeon RX 9060 XT (driver 32.0.32029.2010), Ryzen 7 5700X, Windows 10 21H2 build 19044.6332
  • Rust 1.100.0, debug builds, Agility SDK 1.620.2 with matching d3d12SDKLayers.dll, DXC 1.9.2609.5

Tested

cargo build --workspace passed. cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output exited 101 on both builds. The baseline table row is from a prior run of the same commit, machine, SDK, and command.

Build Passed Failed Ignored SKIPPED notices
main 340 3 23 0
Merged PR 340 3 23 0

Counts are partial because two test processes aborted on each build.

  • Tests that failed on the PR and passed on main — none observed in the comparable results.
  • Focused tests — 3 passed, 0 failed, 0 ignored, 0 skip notices with --exact --test-threads=1 --show-output --nocapture. The new a_sampled_texture_over_a_gpu_owned_one_of_another_size_leaves_its_tiles and the existing alias generation and overlapping placement tests all passed.
  • Debug-layer coverage — both debug-layer E2E tests, including DRED, and uploads_start_from_each_subresources_state passed.
Shared failures and process aborts
  • fuzz_validate_and_gpu_1, fuzz_validate_and_gpu_3, and two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs reported failures on both builds.
  • The library and gpu_compute_e2e test processes exited with 0xc0000409 on both builds.

Retail smoke

Ran scripts/smoke.ps1 -Game <local folder> -Seconds 60 -Xcl <debug binary> with XCL_UMA_DRIVER=mixed for title hash 2c508222.

Build Exit Frames logged Device removals logged Peak commit
main 0xc0000409 None 0 1321 MB
Merged PR, first attempt 0xc0000409 None 0 5508 MB
Merged PR, repeat from fresh data root 0xc0000409 None 0 1320 MB

The first run's higher startup commit did not reproduce. These exits leave frame and steady-state memory behavior unverified.

Diff review

Both active and previously shadowed GPU-owned placements are excluded from eager tile unmapping on overlap. The new test checks that the GPU-owned entry keeps its tiles across both insertion paths while a CPU-backed placement still gets retired.

Not tested

Remaining workspace tests after the aborts, retail performance, and pixel readback for the cross-format GPU-owned alias case.

AI use

Codex (GPT-6) merged and built the PR, ran the tests, compared the results with main, reviewed the diff, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7353939536 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7353939536). Originally posted by [stijn-boer](https://github.com/stijn-boer) on 2026-12-02T18:05:58Z. --- merge-check base: 817eb1fc9fb0763008ae5d8de1f7f586f442b51d head: 1f2fc846902c927a8f995bc88723e980c0e9c3a4 verdict: not yet: the focused alias table checks passed and no new failure appeared in comparable workspace results. Both trees exited early. GPU-written contents in the changed alias case still needed pixel readback. **Windows / AMD RDNA4 (native D3D12) — GPU-owned texture alias checks on `1f2fc84`** Clean merge onto `main` at `817eb1f` (merge commit `a7027764c1955b6a95f134fc26d43c3cebce346c`). `git diff --check` was clean. **Setup** - AMD Radeon RX 9060 XT (driver 32.0.32029.2010), Ryzen 7 5700X, Windows 10 21H2 build 19044.6332 - Rust 1.100.0, debug builds, Agility SDK 1.620.2 with matching `d3d12SDKLayers.dll`, DXC 1.9.2609.5 **Tested** `cargo build --workspace` passed. `cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output` exited 101 on both builds. The baseline table row is from a prior run of the same commit, machine, SDK, and command. | Build | Passed | Failed | Ignored | `SKIPPED` notices | |---|---:|---:|---:|---:| | `main` | 340 | 3 | 23 | 0 | | Merged PR | 340 | 3 | 23 | 0 | Counts are partial because two test processes aborted on each build. - **Tests that failed on the PR and passed on `main`** — none observed in the comparable results. - **Focused tests** — 3 passed, 0 failed, 0 ignored, 0 skip notices with `--exact --test-threads=1 --show-output --nocapture`. The new `a_sampled_texture_over_a_gpu_owned_one_of_another_size_leaves_its_tiles` and the existing alias generation and overlapping placement tests all passed. - **Debug-layer coverage** — both debug-layer E2E tests, including DRED, and `uploads_start_from_each_subresources_state` passed. <details><summary>Shared failures and process aborts</summary> - `fuzz_validate_and_gpu_1`, `fuzz_validate_and_gpu_3`, and `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs` reported failures on both builds. - The library and `gpu_compute_e2e` test processes exited with `0xc0000409` on both builds. </details> **Retail smoke** Ran `scripts/smoke.ps1 -Game <local folder> -Seconds 60 -Xcl <debug binary>` with `XCL_UMA_DRIVER=mixed` for title hash `2c508222`. | Build | Exit | Frames logged | Device removals logged | Peak commit | |---|---|---|---:|---:| | `main` | `0xc0000409` | None | 0 | 1321 MB | | Merged PR, first attempt | `0xc0000409` | None | 0 | 5508 MB | | Merged PR, repeat from fresh data root | `0xc0000409` | None | 0 | 1320 MB | The first run's higher startup commit did not reproduce. These exits leave frame and steady-state memory behavior unverified. **Diff review** Both active and previously shadowed GPU-owned placements are excluded from eager tile unmapping on overlap. The new test checks that the GPU-owned entry keeps its tiles across both insertion paths while a CPU-backed placement still gets retired. **Not tested** Remaining workspace tests after the aborts, retail performance, and pixel readback for the cross-format GPU-owned alias case. **AI use** Codex (GPT-6) merged and built the PR, ran the tests, compared the results with `main`, reviewed the diff, and drafted this report.
vasanex commented 2026-12-02 19:33:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vasanex on 2026-12-02T19:33:21Z.


@stijn-boer thanks for the run. A note on the "not yet", for whoever reads the two checks side by side:

AMD runs on Windows are currently broken on main itself, independent of this PR. Since #3655 was merged (d71578f8), split-wave64 compute pipelines fail in AMD's shader compiler: #3694 reports amdxc64.dll ending the process with 0xc0000409 on an RX 9070 XT (a retail title exits about 1.5 s after start, the lib test binary and gpu_compute_e2e abort), and a device removal on RDNA2. #3655 is in both bases used here (5eaadb54 and 817eb1fc). The fix in progress is #3707.

That matches this check: the suite and the smoke end with 0xc0000409 on main and on the merge alike, with the same partial counts (340 passed, 3 failed, 23 ignored on both), and the focused tests of this PR pass. So the result here is "no difference from main found; a full AMD run is not possible until main is fixed", not a finding against the change.

Would you be willing to rerun once #3707 (or another fix for #3694) is on main? I will rebase this PR onto it then.

Not checked by me: whether the abort on your RX 9060 XT is the one from #3694; the exit code and the place (lib binary and gpu_compute_e2e) are the same, but I have no AMD card to confirm it.

Claude Code with Claude Fable 5.2 read the linked threads and wrote this comment.

<!-- greyfinch-sync:ivall/xcl:comment:7356359576 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7356359576). Originally posted by [vasanex](https://github.com/vasanex) on 2026-12-02T19:33:21Z. --- @stijn-boer thanks for the run. A note on the "not yet", for whoever reads the two checks side by side: AMD runs on Windows are currently broken on `main` itself, independent of this PR. Since #3655 was merged (`d71578f8`), split-wave64 compute pipelines fail in AMD's shader compiler: #3694 reports `amdxc64.dll` ending the process with `0xc0000409` on an RX 9070 XT (a retail title exits about 1.5 s after start, the lib test binary and `gpu_compute_e2e` abort), and a device removal on RDNA2. #3655 is in both bases used here (`5eaadb54` and `817eb1fc`). The fix in progress is #3707. That matches this check: the suite and the smoke end with `0xc0000409` on `main` and on the merge alike, with the same partial counts (340 passed, 3 failed, 23 ignored on both), and the focused tests of this PR pass. So the result here is "no difference from `main` found; a full AMD run is not possible until `main` is fixed", not a finding against the change. Would you be willing to rerun once #3707 (or another fix for #3694) is on `main`? I will rebase this PR onto it then. Not checked by me: whether the abort on your RX 9060 XT is the one from #3694; the exit code and the place (lib binary and `gpu_compute_e2e`) are the same, but I have no AMD card to confirm it. Claude Code with Claude Fable 5.2 read the linked threads and wrote this comment.
stijn-boer commented 2026-12-02 22:12:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by stijn-boer on 2026-12-02T22:12:04Z.


merge-check
base: 5ad98adbc3
head: 1f2fc84690
verdict: not yet: the stacked baseline and PR had the same workspace failures and both completed retail smoke. The targeted alias tests passed. The direct cross-format pixel check skipped on this adapter, leaving verification of GPU-written contents open.

Windows / AMD RDNA4 — GPU-owned texture alias redo with #3707 and #3455

Both builds include #3707 at 912ff558e932264511f386eb8b7e97cbf7cf46e2 and #3455 at 1895d9e8ea3c64f7e91f4a0211f2a7aacff5c525. The combined baseline is cfdacf961cf9cced7aba34f4f11e6219ce55df2d, measured in the prior #3613 retest. The PR merged cleanly onto it at 6a08920397513f103ad8f6b5cc1bb0ad6796120c, with a clean git diff --check and its own Cargo target directory.

Setup

AMD Radeon RX 9060 XT (32.0.32029.2010), Ryzen 7 5700X, Windows 10 21H2 build 19044.6332, Rust 1.100.0 debug, Agility SDK 1.620.2 with matching debug layer, DXC 1.9.2609.5.

Tested

cargo build --workspace passed. cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output recorded the following partial counts.

Build Passed Failed Ignored SKIPPED notices
main + #3707 + #3455 1585 9 47 2
Same base + #3691 1585 9 47 2

Both workspace commands exited 101. The library exited 0x80004005 on both builds. Both logged the same failures in fuzz_validate_and_gpu_1, fuzz_validate_and_gpu_3, gpu_smem_flat_descriptor_windows_and_limits, f32_programs_on_the_gpu, gpu_f32_compares_with_nan, gpu_float_compares_random, gpu_ps_readfirstlane_loop_on_a_primitive_edge_ends, and two failures of two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs. The two skip notices were for disabled heap windows. Both debug-layer E2E checks and the texture-state check passed.

Three isolated alias and overlap tests passed with --test-threads=1 --show-output --nocapture. I also ran placed_title_textures_share_vram_and_preserve_pixels, which emitted SKIPPED because this adapter could not create the fixture's reserved cube with mips. Its libtest pass is not GPU pixel coverage.

Retail smoke

Ran scripts/smoke.ps1 -Game <local folder> -Seconds 60 -Xcl <debug binary> with XCL_UMA_DRIVER=mixed and a fresh data root for title hash 2c508222. The baseline row is from the prior run under the same setup.

Build Exit Frames Peak commit Device removals / crashes
main + #3707 + #3455 0x0 1050 15709 MB 0 / 0
Same base + #3691 0x0 1226 15517 MB 0 / 0

The PR finished with 17% more frames in this comparison. One run per build leaves repeatability and the cause open.

Not tested

Remaining workspace tests after the abort, direct GPU pixel readback for the cross-format alias, and repeated performance pairs.

AI use

Codex (GPT-6) merged and built the PR, ran the tests and smoke test, compared the results with the combined baseline, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7360364009 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7360364009). Originally posted by [stijn-boer](https://github.com/stijn-boer) on 2026-12-02T22:12:04Z. --- merge-check base: 5ad98adbc360225ac8a57ad9661e16fe8df9d8dd head: 1f2fc846902c927a8f995bc88723e980c0e9c3a4 verdict: not yet: the stacked baseline and PR had the same workspace failures and both completed retail smoke. The targeted alias tests passed. The direct cross-format pixel check skipped on this adapter, leaving verification of GPU-written contents open. **Windows / AMD RDNA4 — GPU-owned texture alias redo with #3707 and #3455** Both builds include #3707 at `912ff558e932264511f386eb8b7e97cbf7cf46e2` and #3455 at `1895d9e8ea3c64f7e91f4a0211f2a7aacff5c525`. The combined baseline is `cfdacf961cf9cced7aba34f4f11e6219ce55df2d`, measured in the prior #3613 retest. The PR merged cleanly onto it at `6a08920397513f103ad8f6b5cc1bb0ad6796120c`, with a clean `git diff --check` and its own Cargo target directory. **Setup** AMD Radeon RX 9060 XT (32.0.32029.2010), Ryzen 7 5700X, Windows 10 21H2 build 19044.6332, Rust 1.100.0 debug, Agility SDK 1.620.2 with matching debug layer, DXC 1.9.2609.5. **Tested** `cargo build --workspace` passed. `cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output` recorded the following partial counts. | Build | Passed | Failed | Ignored | `SKIPPED` notices | |---|---:|---:|---:|---:| | `main` + #3707 + #3455 | 1585 | 9 | 47 | 2 | | Same base + #3691 | 1585 | 9 | 47 | 2 | Both workspace commands exited 101. The library exited `0x80004005` on both builds. Both logged the same failures in `fuzz_validate_and_gpu_1`, `fuzz_validate_and_gpu_3`, `gpu_smem_flat_descriptor_windows_and_limits`, `f32_programs_on_the_gpu`, `gpu_f32_compares_with_nan`, `gpu_float_compares_random`, `gpu_ps_readfirstlane_loop_on_a_primitive_edge_ends`, and two failures of `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs`. The two skip notices were for disabled heap windows. Both debug-layer E2E checks and the texture-state check passed. Three isolated alias and overlap tests passed with `--test-threads=1 --show-output --nocapture`. I also ran `placed_title_textures_share_vram_and_preserve_pixels`, which emitted `SKIPPED` because this adapter could not create the fixture's reserved cube with mips. Its libtest pass is not GPU pixel coverage. **Retail smoke** Ran `scripts/smoke.ps1 -Game <local folder> -Seconds 60 -Xcl <debug binary>` with `XCL_UMA_DRIVER=mixed` and a fresh data root for title hash `2c508222`. The baseline row is from the prior run under the same setup. | Build | Exit | Frames | Peak commit | Device removals / crashes | |---|---|---:|---:|---:| | `main` + #3707 + #3455 | `0x0` | 1050 | 15709 MB | 0 / 0 | | Same base + #3691 | `0x0` | 1226 | 15517 MB | 0 / 0 | The PR finished with 17% more frames in this comparison. One run per build leaves repeatability and the cause open. **Not tested** Remaining workspace tests after the abort, direct GPU pixel readback for the cross-format alias, and repeated performance pairs. **AI use** Codex (GPT-6) merged and built the PR, ran the tests and smoke test, compared the results with the combined baseline, and drafted this report.
vasanex commented 2026-12-02 23:02:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vasanex on 2026-12-02T23:02:40Z.


@stijn-boer the pixel readback you left open is in the PR now (head 621bb641), in a test that does not need the reserved cube with mips your card refused:

hle::d3d12x::title_textures::tests::a_gpu_owned_texture_reads_what_the_gpu_wrote_after_a_sampled_one_of_another_size

It creates a device, places an R32_UINT UAV texture and then an R9G9B9E5 sampled one at the same address of the title's memory through CreatePlacedResourceX (1280x720; 0x384000 against 0x3c0000 bytes, the case from the description), lets three submits run so the held unmap lands, has the GPU write a pattern into the UAV texture and copies it back.

On an RTX 3080 (driver 621.40):

  • with the change: all 921600 texels are read back;
  • with the two old.cpu_backed conditions taken out: all 921600 read zero (the texture has lost its tiles, the write goes nowhere).

It needs tiled resources tier 2 and prints SKIPPED when the adapter puts no UAV texture on the title's pages. Suite on this head: 2913 passed, 0 failed, 51 ignored, 25 SKIPPED (the same as on main); smoke in the description.

One limit, so it is not read as more than it is: the test checks what the GPU writes after the sampled texture was placed. What it wrote before is overwritten on main by the sampled texture's first upload from the title's memory, with and without this PR; that is a separate matter and not changed here.

If you rerun on the RX 9060 XT, this is the one to run alone:
cargo test -p xcl --lib a_gpu_owned_texture_reads -- --nocapture

Not tested by me: AMD.

Claude Code with Claude Fable 5.2 wrote the test and this comment and ran the tests.

<!-- greyfinch-sync:ivall/xcl:comment:7361491877 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7361491877). Originally posted by [vasanex](https://github.com/vasanex) on 2026-12-02T23:02:40Z. --- @stijn-boer the pixel readback you left open is in the PR now (head `621bb641`), in a test that does not need the reserved cube with mips your card refused: `hle::d3d12x::title_textures::tests::a_gpu_owned_texture_reads_what_the_gpu_wrote_after_a_sampled_one_of_another_size` It creates a device, places an R32_UINT UAV texture and then an R9G9B9E5 sampled one at the same address of the title's memory through `CreatePlacedResourceX` (1280x720; 0x384000 against 0x3c0000 bytes, the case from the description), lets three submits run so the held unmap lands, has the GPU write a pattern into the UAV texture and copies it back. On an RTX 3080 (driver 621.40): - with the change: all 921600 texels are read back; - with the two `old.cpu_backed` conditions taken out: all 921600 read zero (the texture has lost its tiles, the write goes nowhere). It needs tiled resources tier 2 and prints `SKIPPED` when the adapter puts no UAV texture on the title's pages. Suite on this head: 2913 passed, 0 failed, 51 ignored, 25 SKIPPED (the same as on main); smoke in the description. One limit, so it is not read as more than it is: the test checks what the GPU writes *after* the sampled texture was placed. What it wrote before is overwritten on `main` by the sampled texture's first upload from the title's memory, with and without this PR; that is a separate matter and not changed here. If you rerun on the RX 9060 XT, this is the one to run alone: `cargo test -p xcl --lib a_gpu_owned_texture_reads -- --nocapture` Not tested by me: AMD. Claude Code with Claude Fable 5.2 wrote the test and this comment and ran the tests.
Foniass commented 2026-12-02 23:09:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T23:09:36Z.


Follow-up review of 621bb641, since 1f2fc846 (code reading only, not a merge-check) · 1 medium, 1 nit

In short: The only change since 1f2fc846 is a new GPU test, a_gpu_owned_texture_reads_what_the_gpu_wrote_after_a_sampled_one_of_another_size, plus a paragraph about it in the commit message. The Table::insert change and its unit test are the same as before. The new test leaves out resource-state barriers and never frees its unified-memory block. Neither is in the runtime change, and nothing blocks the fix.

Medium

  1. The GPU test reads the UAV texture as a copy source while it is in COPY_DEST.

    • written is placed in COMMON with no simultaneous-access flag (title_textures.rs). The first write (~6618) copies into it, promoting it to COPY_DEST, a write state that does not decay on a direct queue.
    • The following read (~6622) copies out of it, and the later write (~6639) copies into it again, with no ResourceBarrier anywhere in the test.
    • The debug layer reports this as an invalid state, and on a driver that tracks copy layouts the readback is not defined. That weakens the test as evidence on GPUs other than the RTX 3080 it ran on.

    Fix: add a COPY_DEST → COPY_SOURCE transition before each read and the reverse before the next write, as the module's copy helpers do (~3134, ~4356).

Nit

  1. The GPU test leaks its unified-memory block. It takes 8 MiB with uma.alloc(8 << 20, 0x1_0000) (~6565) and never calls uma.free(va). The module's other tests that allocate from uma free their block at the end (~6470, ~4558).
Checked and fine
  • Earlier finding fixed (at 1f2fc846, unchanged): the doc comment on Table::insert says only CPU-backed entries are returned in to_unmap (~322-327).
  • The two old.cpu_backed conditions in Table::insert (~356, ~373) and the unit test are unchanged.
  • The test's descriptors: formats 42 and 67 are R32_UINT and R9G9B9E5_SHAREDEXP, flags 0x30 = 4 is ALLOW_UNORDERED_ACCESS, and it checks XG gives the two different sizes.
  • It takes VRAM_TEST_LOCK before TEST_LOCK, like the module's other tests. It skips through skip_test without a device, tiled resources tier 2, UMA or a placed UAV texture.
  • It submits through own_work, vram::before_execute and texture::wait, and runs refresh before the second write, so the delayed unmap would have happened. It checks every texel of the 1280x720 texture and requires zero mismatches.

Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7361638504 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7361638504). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T23:09:36Z. --- **Follow-up review** of `621bb641`, since `1f2fc846` (code reading only, not a merge-check) · 1 medium, 1 nit **In short:** The only change since `1f2fc846` is a new GPU test, `a_gpu_owned_texture_reads_what_the_gpu_wrote_after_a_sampled_one_of_another_size`, plus a paragraph about it in the commit message. The `Table::insert` change and its unit test are the same as before. The new test leaves out resource-state barriers and never frees its unified-memory block. Neither is in the runtime change, and nothing blocks the fix. #### Medium 1. **The GPU test reads the UAV texture as a copy source while it is in `COPY_DEST`.** - `written` is placed in `COMMON` with no simultaneous-access flag (`title_textures.rs`). The first `write` (~6618) copies into it, promoting it to `COPY_DEST`, a write state that does not decay on a direct queue. - The following `read` (~6622) copies out of it, and the later `write` (~6639) copies into it again, with no `ResourceBarrier` anywhere in the test. - The debug layer reports this as an invalid state, and on a driver that tracks copy layouts the readback is not defined. That weakens the test as evidence on GPUs other than the RTX 3080 it ran on. Fix: add a `COPY_DEST` → `COPY_SOURCE` transition before each read and the reverse before the next write, as the module's copy helpers do (~3134, ~4356). #### Nit 2. **The GPU test leaks its unified-memory block.** It takes 8 MiB with `uma.alloc(8 << 20, 0x1_0000)` (~6565) and never calls `uma.free(va)`. The module's other tests that allocate from `uma` free their block at the end (~6470, ~4558). <details><summary>Checked and fine</summary> - Earlier finding fixed (at `1f2fc846`, unchanged): the doc comment on `Table::insert` says only CPU-backed entries are returned in `to_unmap` (~322-327). - The two `old.cpu_backed` conditions in `Table::insert` (~356, ~373) and the unit test are unchanged. - The test's descriptors: formats 42 and 67 are R32_UINT and R9G9B9E5_SHAREDEXP, flags `0x30` = 4 is `ALLOW_UNORDERED_ACCESS`, and it checks XG gives the two different sizes. - It takes `VRAM_TEST_LOCK` before `TEST_LOCK`, like the module's other tests. It skips through `skip_test` without a device, tiled resources tier 2, UMA or a placed UAV texture. - It submits through `own_work`, `vram::before_execute` and `texture::wait`, and runs `refresh` before the second write, so the delayed unmap would have happened. It checks every texel of the 1280x720 texture and requires zero mismatches. </details> <sub>Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.</sub>
vasanex commented 2026-12-02 23:33:20 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vasanex on 2026-12-02T23:33:20Z.


@Foniass thanks, both points checked on head a3c51d93:

  1. Copy source while in COPY_DEST: right, fixed. The readback now transitions the UAV texture COPY_DEST → COPY_SOURCE before the copy out and back after it, so the second write finds it in COPY_DEST again. The result is unchanged on the RTX 3080: all 921600 texels read back with the change, all zero with the two old.cpu_backed conditions taken out.

  2. The unified-memory block is not freed: tried and not taken. With uma.free(va) at the end the suite failed (2909 passed, 4 failed): placed_title_textures_share_vram_and_preserve_pixels got the same block back and counted 12845056 B of new pages instead of 16 MiB, short by the 0x3c0000 B of this test's sampled texture, whose pages were still counted for the device; the other three failures were the lock that one poisoned. So the test keeps its 8 MiB, with a comment saying why. That the fixture depends on getting a block nobody used before is its own matter and not changed here.

Suite on a3c51d93: 2913 passed, 0 failed, 51 ignored, 25 SKIPPED (the same as on main); a first run ended early in the uma_driver mixed-window tests (exit 0x7C10003, the failure #3187 is about) after this PR's tests had passed. Smoke in the description.

Not tested by me: AMD.

Claude Code with Claude Fable 5.2 made the changes, ran the tests and wrote this comment.

<!-- greyfinch-sync:ivall/xcl:comment:7362146706 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7362146706). Originally posted by [vasanex](https://github.com/vasanex) on 2026-12-02T23:33:20Z. --- @Foniass thanks, both points checked on head `a3c51d93`: 1. **Copy source while in `COPY_DEST`:** right, fixed. The readback now transitions the UAV texture `COPY_DEST` → `COPY_SOURCE` before the copy out and back after it, so the second write finds it in `COPY_DEST` again. The result is unchanged on the RTX 3080: all 921600 texels read back with the change, all zero with the two `old.cpu_backed` conditions taken out. 2. **The unified-memory block is not freed:** tried and not taken. With `uma.free(va)` at the end the suite failed (2909 passed, 4 failed): `placed_title_textures_share_vram_and_preserve_pixels` got the same block back and counted 12845056 B of new pages instead of 16 MiB, short by the 0x3c0000 B of this test's sampled texture, whose pages were still counted for the device; the other three failures were the lock that one poisoned. So the test keeps its 8 MiB, with a comment saying why. That the fixture depends on getting a block nobody used before is its own matter and not changed here. Suite on `a3c51d93`: 2913 passed, 0 failed, 51 ignored, 25 SKIPPED (the same as on main); a first run ended early in the `uma_driver` mixed-window tests (exit 0x7C10003, the failure #3187 is about) after this PR's tests had passed. Smoke in the description. Not tested by me: AMD. Claude Code with Claude Fable 5.2 made the changes, ran the tests and wrote this comment.
Foniass commented 2026-12-02 23:35:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T23:35:36Z.


Follow-up review of a3c51d93, since 621bb641 (code reading only, not a merge-check) · no new findings

In short: This push fixes the GPU test point from my last review. The test now transitions the UAV texture COPY_DEST → COPY_SOURCE before each read and back before the next write. A comment explains why the unified-memory block is not given back. The runtime change is the same, and nothing blocks it.

Checked and fine
  • Earlier finding fixed: the test read the texture as a copy source while it was in COPY_DEST. Both transitions are recorded in the same list as the copies, so every copy now runs in the state D3D12 requires.
  • Earlier nit answered: the 8 MiB block is kept on purpose. Its pages stay counted for the device until they are swept, and placed_title_textures_share_vram_and_preserve_pixels counts the pages of the block it gets, which could be this one again. The comment says so.
  • Table::insert and its unit test are unchanged.

Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7362192330 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7362192330). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T23:35:36Z. --- **Follow-up review** of `a3c51d93`, since `621bb641` (code reading only, not a merge-check) · no new findings **In short:** This push fixes the GPU test point from my last review. The test now transitions the UAV texture `COPY_DEST` → `COPY_SOURCE` before each read and back before the next write. A comment explains why the unified-memory block is not given back. The runtime change is the same, and nothing blocks it. <details><summary>Checked and fine</summary> - Earlier finding fixed: the test read the texture as a copy source while it was in `COPY_DEST`. Both transitions are recorded in the same list as the copies, so every copy now runs in the state D3D12 requires. - Earlier nit answered: the 8 MiB block is kept on purpose. Its pages stay counted for the device until they are swept, and `placed_title_textures_share_vram_and_preserve_pixels` counts the pages of the block it gets, which could be this one again. The comment says so. - `Table::insert` and its unit test are unchanged. </details> <sub>Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.</sub>
stijn-boer commented 2026-12-03 06:55:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by stijn-boer on 2026-12-03T06:55:21Z.


@vasanex AMD is still having issues on main. I'll try and retest today. Hopefully I can get some better data for you

<!-- greyfinch-sync:ivall/xcl:comment:7370386884 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3691#issuecomment-7370386884). Originally posted by [stijn-boer](https://github.com/stijn-boer) on 2026-12-03T06:55:21Z. --- @vasanex AMD is still having issues on main. I'll try and retest today. Hopefully I can get some better data for you
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3691:upstream-pr/3691'
git switch 'upstream-pr/3691'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3691'
git switch 'upstream-pr/3691'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3691'
git switch 'upstream-pr/3691'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3691'
git switch 'main'
git merge --squash 'upstream-pr/3691'
git switch 'main'
git merge --ff-only 'upstream-pr/3691'
git switch 'main'
git merge 'upstream-pr/3691'
git push origin 'main'
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
xcl-dev/xcl!3691
No description provided.