feat(agc): upload nonuniform initial multisample draw contents #16086
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16086"
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 boykopovar/AnyPS5. Originally posted by Amoenus on 2026-11-05T16:22:01Z.
What
Preserve differing initial samples of a plain R_X multisample color target at its first partial draw. Main zero-initializes the new image; #15986 preserves uniform values but rejects nonuniform contents. This follow-up feeds the safely captured bytes into the existing detile/compute uploader, retaining its caller-pool buffer through recorder completion and releasing it afterward. Ownership and guest bytes are rechecked before target creation.
Depends on #15986 (including #15985). This replaces the nonuniform initialization/lifetime portion of reverted #6973; it does not restore constructor-time guest reads or generic sampled-image layout changes. #6987 now adapts the saved guest baseline/readback onto this prerequisite (validation); the publisher and automatic-consumer refreshes remain outstanding.
The upload uses existing layout and shader semantics. Host requirements follow Vulkan buffer lifetime and multisample/formatless storage-write features; console equivalence remains unmeasured in library debt. StepFPV's depth-owner diagnosis informed the preserved nonmutating preflight.
Overlap review found no independent duplicate. #9508 changes the neighboring constructor inheritance and upload's heap owner argument: keep its HeapSlotOwner/dispatch owner when combining. This is a coordination point, not a semantic dependency; no combined heap validation is claimed. #6987 is adapted onto this initializer; the publisher and automatic consumers still require their own refresh.
Tested
Final head
45414a37afa68fe33eafa63d9ff9cc6c554639d1is based on main07fae3d172f4ffcdd8fb0eed76a475a8630e716d. The first pinned refresh at main6185bdcfc4e05bbc5a7b61a74ba6345f941a2b6epassed 36 physical-GPU processes; the focused follow-up on this final head passes 16, with the exact group/source breakdown in the sweep report, commands, raw logs and hashes. Both use RTX5080 and AMD iGPU on the same machine. Main controls pass32 processes at the first pin and26 at the final pin; absent new capability registrations are not counted as main passes.The final selection covers all four nonuniform upload/lifetime/capability/hook groups, uniform initialization and the three submit-progress modes. The repro-test and implementation commits remain separate, with unchanged topic patches. The old independent submit-progress failure remains recorded; its test-only-main arm did not build. Both new main and this head include the subsequent cold-deadline correction and pass locally; that does not establish the independent host result without a rerun.
Full configured native libraries/relinker and the selected real execution targets build. Required Vulkan, app shader cache/journal disabled, serial verbose CTest with30-second bound, loaded Khronos1.4.363 and actual device identity verified per GPU process. No skips, VUIDs, SYNC diagnostics or validation warnings/errors. Selected CPU checks, conventions and whitespace pass. Added/removed topic lines are unchanged by these mechanical updates; no new implementation or title/FPS claim. The newer main changes shared f16 probing/target/request serialization, which is why the focused follow-up was run.
Earlier qualification/fault controls retain their original pins: evidence 1, evidence 2. They are not rerun-control claims at this new head.
The green hosted Windows job is a narrow registration/link/changed-guest-test check; full build, libs and AGC CTest were skipped. Full hosted Linux/Windows validation remains a maintainer action, and older independent reports retain their actual heads.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)