Repository navigation
Conversation
AI-assisted extraction of fork 580b68d; verify independent recorded heaps.
|
Native NVIDIA validation from Alpha for Tested head: Unmodified head: 10/10 fresh processes passed, with zero skips or failures. Separate observation build: We confirmed that the test's own D3D12 device was the physical RTX 5070 Ti on NVIDIA driver 621.24. Before submission, the two closed depth-plane lists each retained a distinct shader-visible heap. The test dropped the second list and executed the first. All three observed fences completed and all 16 readback assertions passed. The parent passed its original single-plane test. This result covers two-list retention and first-list rendering on the tested revision. Second-list execution and replay remain open. AI use: Codex handled the validation on Alpha (earlier run model and reasoning: not recorded; current setup: GPT-6.2 Astra, medium or higher). ChatGPT prepared and published this comment (this session: GPT-6 Astra Pro; exact reasoning level: not recorded). Update — separate instrumented two-list control (2026-11-26): Parent Both depth-plane lists closed before either was submitted. A and B then executed once each, in that order. Their submissions completed at fences 3 and 4, and their separate readbacks completed at fences 5 and 6. On each revision, all 16 bytes of A's 4 × 4 output matched A's expected pattern, and all 16 bytes of B's output matched B's expected pattern. This adds verified execution and output for both lists. Both revisions passed this workload; no rendered regression was demonstrated. Ring wrap and replay remain untested. AI use for this update: OpenAI Codex ( Update — separate instrumented ring-boundary control: On Alpha’s physical RTX 5070 Ti, NVIDIA driver 32.0.16.2140 (621.40), we tested parent The asset-free fixture closed sentinel plane list A and held it unsubmitted while recording later B plane lists, which also remained unsubmitted. B’s independent fill work ran. A was then submitted once and read back separately. At 256 total descriptor writes (A plus 255 later writes), the parent used slots 0–255 without reuse, and all 16 bytes of A’s output matched A’s pattern. At 257 total writes, the parent reused A’s slot 0 in the same heap, and all 16 output bytes matched B’s pattern instead. The head used 256 and 257 distinct heaps, respectively, and all 16 bytes matched A in both cases. The 257-write result was identical in 3/3 fresh processes per revision: parent B/B/B, head A/A/A. The 256-write cases ran once per revision. All fences completed, with zero skips and exit 0; the harness classified the observations, including the parent’s wrong output. This reproduces the parent’s descriptor-overwrite failure and shows the head avoiding it in this pending-list sequence. The result is limited to these pins; current-main integration, replay, gameplay/flicker effects and allocation cost remain untested. AI use: Codex assisted the Alpha work; execution-03 model and reasoning setting were not recorded in the supplied report. ChatGPT (GPT-6 Astra Pro; reasoning setting: not recorded) reviewed the report and prepared this update. Model disclosure for follow-up Work sessions: Daybreak Blue, GPT-6 Sol, Max reasoning. This configuration applies to follow-up Work sessions. The execution-03 model and reasoning setting remain unrecorded. |
|
I checked the depth-plane counter on an RX 7900 XT running Wine 11.22 and RADV 26.3.1. The older AMD branch also has the 256-slot ring. The saved waterfront route reported draws from a twin in 17 of 25 sampling intervals, peaking at 1.0 drawn subresource per frame. The diner reported them in 14 of 22 intervals, peaking at 1.1. Two cold story boots peaked at 2.0. In this implementation the counter increments once after the draw inside the slice/mip loop. That confirms the path runs in both locations. The counters are interval averages. They don’t measure how many descriptors were still referenced by unfinished lists when a slot was reused, so I can’t tie the reported flicker to ring reuse from these logs. |
|
I tried a variation on the Radeon branch that keeps one immutable SRV heap with its depth twin and retains it from each recorded list. Two lists recording the same twin shared the published heap. A third list using another twin kept a separate heap. I ran the extended depth-render/readback test on a physical RX 7900 XT, Wine 11.22 and RADV 26.3.1. All 16 texels matched. This avoids per-pass heap creation after first use. I haven’t measured frame cost or a flicker change yet. Implementation and test |
Problem
The depth-plane pass writes descriptors into a process-wide ring of 256 shader-visible slots. Command lists can be recorded ahead of submission or replayed, so a later recorded pass can overwrite a descriptor still referenced by an earlier list.
Change
Allocate immutable shader-visible descriptors for the pass and retain the descriptor heap and both resources in the owning HostList. The pipeline cache remains shared. The existing per-subresource draws and state transitions are unchanged. This trades an additional descriptor-heap allocation per pass for correct descriptor lifetime; no performance claim.
Verification
Direct base 52ac4ec. Clean isolated workspace all-target/all-feature cargo check and Clippy -D warnings passed. Extended
a_depth_planes_twin_is_drawn_into_the_planeran on a host device with WARP requested: two recorded lists retained distinct shader-visible heaps and the existing depth-plane rendering assertions passed. Diff check passed. Staged asset policy fails solely on host.rs size (529308 bytes; upstream already 528954, limit 524288). Await upstream #1357's source split rather than weakening the policy. Full upstream CI/review pending. No gameplay or long-session claims.AI-assisted extraction from fork 580b68d; no title assets.