D3D12.X: a released descriptor heap's RTV entries go with it #1771

Open
github-bot wants to merge 1 commit from github-bot/gh-1771 into main AGit
Owner

@⁠b3IKK on GitHub · 2026-11-24 20:30 UTC · original
b3IKK:d3d12x/rtv-entries-dropped-with-heap → main · +89 −1 · 2 files · 1 commits · open

Addresses XCL-BT-045 from #1488.

present::note_rtv keeps the resource every render target view is made for — one AddRef each — in RTVS, and only a view made again in the same handle ever replaced it. A title that makes its views in descriptor heaps it later releases (a streaming ring, a resize) therefore left every one of those references behind: the resources, and the video memory behind them, for the life of the process.

This records each descriptor heap's CPU descriptor range when it is created (ID3D12Device::CreateDescriptorHeap, every type — the console-heap path and the plain one) and drops the RTVS entries in that range when the heap's last Release arrives, releasing the resources they held. Another heap's entries are untouched.

What is in it

  • crates/xcl/src/hle/d3d12x/present.rs: HEAP_RANGES (heap → (base, size)), note_heap_range, take_rtv_range, forget_heap; test a_released_descriptor_heaps_rtv_entries_go_with_it (two heaps plus an entry past the released heap's end; fails without the cleanup at the heap's own entries go).
  • crates/xcl/src/hle/d3d12x/real.rs: note_heap_range records the range for both CreateDescriptorHeap paths; heap_release calls present::forget_heap when the last reference goes.

Tested

  • hardware (GPU + driver, CPU), Windows build, Rust version, debug / release: NVIDIA GeForce RTX 5080 (driver 32.0.16.1088), AMD Ryzen 9 9950X3D, Windows 11 10.0.26300, Rust 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2609.5, debug (scripts/test.ps1) and release (scripts/smoke.ps1)
  • .\scripts\test.ps1 (cargo build --workspace + cargo test --workspace -- --test-threads=4): 960 passed, 0 failed, 43 ignored (SKIPPED: the wave64 / direct-DXIL per-lane tests that need 64-lane hardware or a semantics mode this adapter refuses, no heap windows, and cannot disable the driver cache (Windows Developer Mode is required))
  • cargo test -p xcl --lib present: 7 passed, 0 failed

Regression run

main (c4d37be, clean tree, no local changes):

xcl-smoke v1
commit: c4d37bec1bb4286eb373aea963404a23f13401fa
gpu: NVIDIA GeForce RTX 5080
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1639 (PresentX 1640)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14618 MB

PR (e267c2a, clean tree, no local changes):

xcl-smoke v1
commit: e267c2aab84871d9adc16ddc9222c4c8946fe4b4
gpu: NVIDIA GeForce RTX 5080
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1647 (PresentX 1647)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14616 MB

Not tested

  • a title that releases an RTV heap and keeps a resource from it alive elsewhere (the entry's reference goes; the title's own reference still keeps the resource)
  • AMD GPUs and native wave64 hardware
  • other titles (Minecraft Preview, Unicorn Overlord, Fortnite, XDefiant) and Linux / Wine

AI use

  • OpenCode, Gemini 4 Neon: checked XCL-BT-045 against note_rtv/heap_release, wrote the range bookkeeping and test (and confirmed it fails without the cleanup), rebased onto c4d37be, ran the test suite and scripts/smoke.ps1 regression runs with #677's title hashing, and drafted this PR description.
**@⁠b3IKK** on GitHub · 2026-11-24 20:30 UTC · [original](https://github.com/xcl-dev/xcl/pull/1771) `b3IKK:d3d12x/rtv-entries-dropped-with-heap` → `main` · +89 −1 · 2 files · 1 commits · open Addresses `XCL-BT-045` from #1488. `present::note_rtv` keeps the resource every render target view is made for — one `AddRef` each — in `RTVS`, and only a view made again in the *same* handle ever replaced it. A title that makes its views in descriptor heaps it later releases (a streaming ring, a resize) therefore left every one of those references behind: the resources, and the video memory behind them, for the life of the process. This records each descriptor heap's CPU descriptor range when it is created (`ID3D12Device::CreateDescriptorHeap`, every type — the console-heap path and the plain one) and drops the `RTVS` entries in that range when the heap's last `Release` arrives, releasing the resources they held. Another heap's entries are untouched. **What is in it** - `crates/xcl/src/hle/d3d12x/present.rs`: `HEAP_RANGES` (heap → `(base, size)`), `note_heap_range`, `take_rtv_range`, `forget_heap`; test `a_released_descriptor_heaps_rtv_entries_go_with_it` (two heaps plus an entry past the released heap's end; fails without the cleanup at `the heap's own entries go`). - `crates/xcl/src/hle/d3d12x/real.rs`: `note_heap_range` records the range for both `CreateDescriptorHeap` paths; `heap_release` calls `present::forget_heap` when the last reference goes. **Tested** - hardware (GPU + driver, CPU), Windows build, Rust version, debug / release: NVIDIA GeForce RTX 5080 (driver 32.0.16.1088), AMD Ryzen 9 9950X3D, Windows 11 10.0.26300, Rust 1.100.0 (`stable-x86_64-pc-windows-msvc`), DXC 1.9.2609.5, debug (`scripts/test.ps1`) and release (`scripts/smoke.ps1`) - `.\scripts\test.ps1` (`cargo build --workspace` + `cargo test --workspace -- --test-threads=4`): 960 passed, 0 failed, 43 ignored (SKIPPED: the wave64 / direct-DXIL per-lane tests that need 64-lane hardware or a semantics mode this adapter refuses, `no heap windows`, and `cannot disable the driver cache (Windows Developer Mode is required)`) - `cargo test -p xcl --lib present`: 7 passed, 0 failed **Regression run** main (`c4d37be`, clean tree, no local changes): ``` xcl-smoke v1 commit: c4d37bec1bb4286eb373aea963404a23f13401fa gpu: NVIDIA GeForce RTX 5080 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1639 (PresentX 1640) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14618 MB ``` PR (`e267c2a`, clean tree, no local changes): ``` xcl-smoke v1 commit: e267c2aab84871d9adc16ddc9222c4c8946fe4b4 gpu: NVIDIA GeForce RTX 5080 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1647 (PresentX 1647) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14616 MB ``` **Not tested** - a title that releases an RTV heap and keeps a resource from it alive elsewhere (the entry's reference goes; the title's own reference still keeps the resource) - AMD GPUs and native wave64 hardware - other titles (Minecraft Preview, Unicorn Overlord, Fortnite, XDefiant) and Linux / Wine **AI use** - OpenCode, Gemini 4 Neon: checked `XCL-BT-045` against `note_rtv`/`heap_release`, wrote the range bookkeeping and test (and confirmed it fails without the cleanup), rebased onto `c4d37be`, ran the test suite and `scripts/smoke.ps1` regression runs with #677's title hashing, and drafted this PR description.
present::note_rtv keeps the resource of every render target view, one
reference each, in RTVS, and only a view made again in the same handle
replaced it. A title that makes its views in descriptor heaps it later
releases (a streaming ring, a resize) left every one of those references
- the resources, and the video memory behind them, for the life of the
process.

The CPU descriptor range of each heap is recorded when it is made
(ID3D12Device::CreateDescriptorHeap, all types), and the heap's Release
drops the RTVS entries in that range.

Assisted-by: OpenCode (Gemini 4 Neon)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:04:26 +00:00
Author
Owner

@⁠b3IKK on GitHub · 2026-11-24 21:26 UTC · original

Rebased onto c4d37be and re-ran everything with the current scripts/smoke.ps1 (#677's hashed itle: line): 960 passed, 0 failed, 43 ignored — the run now includes the direct-DXIL per-lane tests that landed on main, which skip on this 32-lane adapter.

**@⁠b3IKK** on GitHub · 2026-11-24 21:26 UTC · [original](https://github.com/xcl-dev/xcl/pull/1771#issuecomment-7144928936) Rebased onto c4d37be and re-ran everything with the current scripts/smoke.ps1 (#677's hashed itle: line): 960 passed, 0 failed, 43 ignored — the run now includes the direct-DXIL per-lane tests that landed on main, which skip on this 32-lane adapter.
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 21:24 UTC · original · edited 2026-11-24 22:04 UTC

Full-suite run, since this PR has no test report yet. Tested exact head 02f3229 (on its base c160d86).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record: 858 passed, 0 failed, 42 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new tests ran and passed: a_released_descriptor_heaps_rtv_entries_go_with_it.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 859 passed, 0 failed, 42 ignored. SKIPPED: heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • Two tests were skipped with --skip on NVIDIA. Both fail on main 7f7e768 too, not because of this PR: under XCL_REQUIRE_GPU=mesh, runner::skip_test turns their skips into failures. heap_window_out_of_memory_falls_back_to_the_switch_form skips when XCL_HEAP_WINDOWS is unset (#1651), and shaders::tests::pso_measurement_compiles_an_exact_synthetic_record skips because Developer Mode is off on this PC (it cannot disable the driver cache). The AMD run does not set XCL_REQUIRE_GPU, so there both just print SKIPPED.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 21:24 UTC · [original](https://github.com/xcl-dev/xcl/pull/1771#issuecomment-7144889525) · edited 2026-11-24 22:04 UTC Full-suite run, since this PR has no test report yet. Tested exact head `02f3229` (on its base `c160d86`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record`: **858 passed, 0 failed, 42 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new tests ran and passed: `a_released_descriptor_heaps_rtv_entries_go_with_it`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **859 passed, 0 failed, 42 ignored**. SKIPPED: `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - Two tests were skipped with `--skip` on NVIDIA. Both fail on main `7f7e768` too, not because of this PR: under `XCL_REQUIRE_GPU=mesh`, `runner::skip_test` turns their skips into failures. `heap_window_out_of_memory_falls_back_to_the_switch_form` skips when `XCL_HEAP_WINDOWS` is unset (#1651), and `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` skips because Developer Mode is off on this PC (it cannot disable the driver cache). The AMD run does not set `XCL_REQUIRE_GPU`, so there both just print SKIPPED. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-24 23:24 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified main.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-24 23:24 UTC · [original](https://github.com/xcl-dev/xcl/pull/1771#issuecomment-7147366186) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified `main`.) Thanks!
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-25 03:32 UTC · original

PR #1771 — D3D12.X descriptor-heap RTV cleanup

Tested commit e267c2aab84871d9adc16ddc9222c4c8946fe4b4 from a clean detached checkout. The change records each heap’s CPU descriptor range and removes its tracked render-target view (RTV) entries and their resource references on final heap release.

Tested

  • STOR-WINLAB, Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB, driver 32.0.101.9175. Wave range 8–32, DoublePrecisionFloatShaderOps=0, d3d12SDKLayers.dll absent. Rust 1.100.0 (0ef1bc386, 2026-11-09), DXC/DXIL 1.9.2609.5, unoptimized builds with debug info and incremental compilation disabled.
  • cargo build --workspace and cargo test --workspace --no-run succeeded outside the GPU lock.
  • cargo test -p xcl --lib hle::d3d12x::present::tests::a_released_descriptor_heaps_rtv_entries_go_with_it -- --exact recorded 1 passed, 0 failed, 0 ignored, 0 skips. The test verified removal within the heap’s range, preservation of entries at the exclusive end and in another heap, and a repeated cleanup call. It passed again in the full suite.
  • One locked run of cargo test --workspace --no-fail-fast -- --test-threads=4 with XCL_ADAPTER=A770 and RUST_TEST_NOCAPTURE=1 exited 101. Across 20 result summaries, Cargo recorded 941 passed, 19 failed, 43 ignored. The log contains 25 SKIPPED lines, which represent omitted coverage.

The 19 failures comprised 14 CreateComputePipelineState rejections (0x80070057), four GPU result mismatches (FMA contraction, implicit-LOD sampling, packed VALU, pixel wave reduction), and one test-title dynamic depth-bias check (RSSetDepthBiasX, blue pixel where green was expected).

The 25 skip lines comprised 17 for missing wave64, three for refused per-lane DXIL variants, two for the missing debug layer, and one each for tiled-resource tier, unavailable heap windows, and inability to disable the driver cache. Retail sample checks also returned early when their inputs were unset.

Not tested

Live COM resource release through the heap hook, retail-title smoke runs, a main baseline, and other GPU vendors.

AI use

T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1771-suite.log and published this report.

**@⁠JJAutoCompare** on GitHub · 2026-11-25 03:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/1771#issuecomment-7152017822) # PR #1771 — D3D12.X descriptor-heap RTV cleanup Tested commit `e267c2aab84871d9adc16ddc9222c4c8946fe4b4` from a clean detached checkout. The change records each heap’s CPU descriptor range and removes its tracked render-target view (RTV) entries and their resource references on final heap release. **Tested** - STOR-WINLAB, Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB, driver 32.0.101.9175. Wave range 8–32, `DoublePrecisionFloatShaderOps=0`, `d3d12SDKLayers.dll` absent. Rust 1.100.0 (`0ef1bc386`, 2026-11-09), DXC/DXIL 1.9.2609.5, unoptimized builds with debug info and incremental compilation disabled. - `cargo build --workspace` and `cargo test --workspace --no-run` succeeded outside the GPU lock. - `cargo test -p xcl --lib hle::d3d12x::present::tests::a_released_descriptor_heaps_rtv_entries_go_with_it -- --exact` recorded 1 passed, 0 failed, 0 ignored, 0 skips. The test verified removal within the heap’s range, preservation of entries at the exclusive end and in another heap, and a repeated cleanup call. It passed again in the full suite. - One locked run of `cargo test --workspace --no-fail-fast -- --test-threads=4` with `XCL_ADAPTER=A770` and `RUST_TEST_NOCAPTURE=1` exited 101. Across 20 result summaries, Cargo recorded **941 passed, 19 failed, 43 ignored**. The log contains **25 `SKIPPED` lines**, which represent omitted coverage. The 19 failures comprised 14 `CreateComputePipelineState` rejections (`0x80070057`), four GPU result mismatches (FMA contraction, implicit-LOD sampling, packed VALU, pixel wave reduction), and one test-title dynamic depth-bias check (`RSSetDepthBiasX`, blue pixel where green was expected). The 25 skip lines comprised 17 for missing wave64, three for refused per-lane DXIL variants, two for the missing debug layer, and one each for tiled-resource tier, unavailable heap windows, and inability to disable the driver cache. Retail sample checks also returned early when their inputs were unset. **Not tested** Live COM resource release through the heap hook, retail-title smoke runs, a `main` baseline, and other GPU vendors. **AI use** T3 Code / Codex (`gpt-6.2-sol`, `reasoningEffort: high`) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, `gemini-4-neon`) verified counts against `pr1771-suite.log` and published this report.
Author
Owner

@⁠thehollowedone on GitHub · 2026-11-25 11:29 UTC · original

Independent Windows run on e267c2a. Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti (621.35), Rust 1.99.1 MSVC, debug.

cargo build --offline --locked --workspace passed. cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --nocapture reported 960 passed, 0 failed, 43 ignored, with 23 runtime skip notices included in Cargo's pass count.

A scratch fixture created two native RTV heaps through the console descriptor-heap handler. The first heap had two views and the second had one. A non-final COM release preserved all three mappings. The first heap's final release removed its two mappings and dropped both resource references while the second heap kept its view and reference. After releasing the second heap, both resources were back at their starting reference counts. Disabling only the heap cleanup call left the first heap's views tracked and failed the assertion.

cargo test --offline --locked -p xcl --lib console_rtv_heap_final_release_drops_only_its_own_views -- --nocapture --test-threads=1 passed 1/0/0 with zero skips. This covers the synthetic console RTV path on the native adapter. AI-assisted. Codex (GPT-6, exact variant unavailable) wrote the fixture, ran the tests, and drafted this report.

**@⁠thehollowedone** on GitHub · 2026-11-25 11:29 UTC · [original](https://github.com/xcl-dev/xcl/pull/1771#issuecomment-7161109407) Independent Windows run on [e267c2a](https://github.com/xcl-dev/xcl/commit/e267c2aab84871d9adc16ddc9222c4c8946fe4b4). Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti (621.35), Rust 1.99.1 MSVC, debug. `cargo build --offline --locked --workspace` passed. `cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --nocapture` reported **960 passed, 0 failed, 43 ignored**, with 23 runtime skip notices included in Cargo's pass count. A scratch fixture created two native RTV heaps through the console descriptor-heap handler. The first heap had two views and the second had one. A non-final COM release preserved all three mappings. The first heap's final release removed its two mappings and dropped both resource references while the second heap kept its view and reference. After releasing the second heap, both resources were back at their starting reference counts. Disabling only the heap cleanup call left the first heap's views tracked and failed the assertion. `cargo test --offline --locked -p xcl --lib console_rtv_heap_final_release_drops_only_its_own_views -- --nocapture --test-threads=1` passed 1/0/0 with zero skips. This covers the synthetic console RTV path on the native adapter. AI-assisted. Codex (GPT-6, exact variant unavailable) wrote the fixture, ran the tests, and drafted this report.
Author
Owner

@⁠ClosetPie107 on GitHub · 2026-11-25 20:46 UTC · original

Independent AMD RDNA4 / Linux (RADV, native wave64) test report for head e267c2aab84871d9adc16ddc9222c4c8946fe4b4 (merged cleanly onto main 6d12f58).

Hardware & environment

  • AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1, native wave64), Ryzen 5 9600X, 30 GiB RAM, CachyOS Linux
  • Proton Experimental (experimental-11.0-20261112), vkd3d-proton master ec207194 (3.2.0) + dxil-spirv b540c8a2 + relaxed-vtable patch (-Db_ndebug=true), DXVK v3.1.1-209, DXC 1.9.2609.5, Rust x86_64-pc-windows-gnu (debug for tests, release for retail)

Unit tests (XCL_REQUIRE_GPU=wave64, XCL_DXC_DIR, VKD3D_CONFIG=ignore_shared_fence, --test-threads=1 --nocapture)

  • hle::d3d12x::present: 10 passed, 0 failed, 0 ignored (0 skipped; includes a_released_descriptor_heaps_rtv_entries_go_with_it)

Combined retail sanity run (main 6d12f58 + #2068, #1771, #1740, #1256 merged together; XCL_DIRECT_DXIL=1, XCL_TEXTURE_LEVEL_PAGES=1, XCL_PSO_WAIT_MS=50, XCL_SPLIT_MIDLIST_WAIT=0, XCL_COHERENT_MB=1024, VKD3D_CONFIG=ignore_shared_fence, XCL_PSO_PRELOAD=0, XCL_NETWORK=0)

  • Completed the full 300 s (exit=0) with 0 crashes and 0 device removals (11.55 GiB peak VRAM / 0 GTT spill, 13.35 GiB peak RSS, 1,800+ frames presented, 16,442 translated draws, 4,499 dispatches, 11,257 Opus packets).

Not tested

  • Full workspace test suite, native Windows, or an isolated single-PR retail run (retail sanity run above was on the 4-PR batch).

AI use

  • T3 Code / Antigravity (Gemini 4 Neon) merged the PR onto main, ran the tests and combined retail run under Proton on this machine, and drafted this report.
**@⁠ClosetPie107** on GitHub · 2026-11-25 20:46 UTC · [original](https://github.com/xcl-dev/xcl/pull/1771#issuecomment-7174163715) Independent AMD RDNA4 / Linux (RADV, native wave64) test report for head `e267c2aab84871d9adc16ddc9222c4c8946fe4b4` (merged cleanly onto `main` `6d12f58`). **Hardware & environment** - AMD Radeon RX 9070 16 GB (RDNA4, RADV GFX1201, Mesa 26.3.1, native wave64), Ryzen 5 9600X, 30 GiB RAM, CachyOS Linux - Proton Experimental (`experimental-11.0-20261112`), `vkd3d-proton` `master` `ec207194` (3.2.0) + `dxil-spirv` `b540c8a2` + relaxed-vtable patch (`-Db_ndebug=true`), DXVK `v3.1.1-209`, DXC `1.9.2609.5`, Rust `x86_64-pc-windows-gnu` (debug for tests, release for retail) **Unit tests** (`XCL_REQUIRE_GPU=wave64`, `XCL_DXC_DIR`, `VKD3D_CONFIG=ignore_shared_fence`, `--test-threads=1 --nocapture`) - `hle::d3d12x::present`: **10 passed, 0 failed, 0 ignored** (0 skipped; includes `a_released_descriptor_heaps_rtv_entries_go_with_it`) **Combined retail sanity run** (`main` `6d12f58` + `#2068`, `#1771`, `#1740`, `#1256` merged together; `XCL_DIRECT_DXIL=1`, `XCL_TEXTURE_LEVEL_PAGES=1`, `XCL_PSO_WAIT_MS=50`, `XCL_SPLIT_MIDLIST_WAIT=0`, `XCL_COHERENT_MB=1024`, `VKD3D_CONFIG=ignore_shared_fence`, `XCL_PSO_PRELOAD=0`, `XCL_NETWORK=0`) - Completed the full **300 s (`exit=0`)** with **0 crashes** and **0 device removals** (`11.55 GiB` peak VRAM / 0 GTT spill, `13.35 GiB` peak RSS, `1,800+` frames presented, `16,442` translated draws, `4,499` dispatches, `11,257` Opus packets). **Not tested** - Full workspace test suite, native Windows, or an isolated single-PR retail run (retail sanity run above was on the 4-PR batch). **AI use** - T3 Code / Antigravity (Gemini 4 Neon) merged the PR onto `main`, ran the tests and combined retail run under Proton on this machine, and drafted this report.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
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/1771/head:github-bot/gh-1771'
git switch 'github-bot/gh-1771'

Merge

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