Shaders: journal indirect mesh whole-form demand #3796
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3796"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by Prime1997 on 2026-12-03T15:35:14Z.
Two-pass indirect mesh requests the whole compute form without recording the use that warm-start prefetch consults. A previous NVIDIA run counted 269 draws skipped while their whole form was building. Journal the demand before returning the existing ready, late, or failed outcome.
What is in it
Tested
267b8387449b5e501010bc6352747442ab8b8bccon upstreammaina815de932c4dc8da3b383ca44f4b094aa406fec9.cargo test --locked -p xcl --lib -- --test-threads=1 --nocapture --exact hle::d3d12x::real::dispatch_chain::tests::whole_ready_journals_indirect_demand_even_when_the_whole_failedRegression run
The paired retail smoke is pending for this draft.
Not tested
Retail rendering, elapsed pipeline waits, AMD, and the full workspace suite.
AI use
OpenAI Codex (GPT-6) investigated the route, wrote the change and fixture, and ran the focused test.
Optional Discord for test coordination and comparison
Imported from ivall/xcl. Originally posted by Gevroska on 2026-12-03T17:42:44Z.
@Prime1997 I checked what a fresh process does with the mesh demand recorded by
267b8387. In all six head runs, the writer appended the translated mesh producer key exactly once, and a fresh reader found it. The parent (a815de93) appended no mesh key under the same conditions.On both revisions, mandatory mesh preparation requested the same pieces and whole forms, and queued mesh preparation requested the same two pieces. Seeding the original mesh-container key as well made no difference. As a positive control, a matching classic compute entry did change the requests.
Is the runtime eager build in #3754/#3763 the intended consumer, or should a fresh offline preparation process also request the mesh whole form? I tested this PR on its own and stopped at request selection, before driver pipeline creation.
AI disclosure: OpenAI Codex GPT-6.2 Sol ran the writer/reader comparison. An independent Codex reviewer checked all 12 process pairs and 72 selection results. GPT-6.2 Astra drafted this comment.
I reviewed and approved this comment before posting.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.