AGC: fresh clear-proven native depth is refused when it inherits an owner #14083
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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-10-31T18:22:27Z.
Merged — checked 8 November: #14084 merged at
db7522a70bon 7 November and this issue is closed. Current inspected main4c4ff42a6c8c788046470ed512855229d98df0a1contains the proven-initial-owner correction and its isolated regression fixture. The 7 November tests and controls retain their original exact pins; they are not a new title run. No pending re-land is required. AI-assisted:yes,Codex.Current proposed fix — 4 November2026: #14084 at b16282dd5fde includes main
b11c7bf84f5d2f636ff60166cc3371bd071e24d5. Paired component tests, exact pins, logs, controls and limits. Configured libraries/relinker/real fixtures, conventions and whitespace pass. Keep open pending merge; no new title/FPS/full-suite claim. The current-main behavior still fails this regression on both GPUs when only the fix is reverted; restoration passes. Main’s newer depth publication is retained.What happens
A fresh, clear-proven native multisample depth attachment at an existing depth owner's address is refused with
AGC graphics: native multisample depth fast-clear transition is not implemented.Title, test or build step
New public synthetic regression
agc_driver_native_depth_initial_owner(--initial-owner). Found while investigating Sonic Unleashed Recompiled PPSA99902/01.003.000 in #4443; this issue establishes the general initialization defect, not unchanged-main title compatibility.AnyPS5 commit
Main
ca073ec3ad0d766ea9f4658e418a5c977001a353with only the identical regression fixture added, reproducible control 03eea7d64812. Production DepthSurface.cpp is byte-identical to main. Candidate b5829490036c changes one production predicate.System
Windows11 Enterprise26200, Ryzen9950X3D, WinLibs GCC15.2.0 Release. Reproduces on actual NVIDIA GeForce RTX5080 (621.01/32.0.16.2101) and AMD Radeon Graphics1002:13c0 (26.10.1/32.0.21045.16010), with loaded Khronos validation1.4.363 verified per execution.
Host report
No new game host-report block for this synthetic fixture. Physical device and loaded-layer identities are retained in the verbose logs below.
Steps to reproduce
Build the public control with BUILD_TESTING enabled and the real
NativeMultisampleDepth.cppfixture; buildlibsandagc_driver_native_multisample_depth_tests. SetANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, a compatible layer path andANYPS5_GPUto the physical device. Run:The fixture creates a single-sample owner, then a complete HTILE-clear note and a fresh supported multisample target at that depth address. Initial-import proof succeeds, but
created && inheritsrecords the generic transition refusal. The unchanged-main control stops within one second on each GPU.Log
What was checked
Complete main/control/fix pins, source explanation, commands and raw logs. Same final fixture: two expected main failures; candidate passes all24 D16/D32 ×2/4/8-sample ×clear0/1 ×HTILE-encoding cases on each vendor, checking every sample after initialization and two raster writes. Four companion groups pass on main and candidate:18 positive physical-GPU processes overall, no selected validation warnings/errors/VUIDs/skips/timeouts.
The constructor already clears the new host image and a full depth clear prevents importing the old plane. Proposed correction preserves that initialization only for a newly created surface whose existing sampling/import checks succeeded; existing-surface and unsupported-import refusals remain. This builds on merged #6438's fresh-plane handling. Related #6300/#6808 retain the old bind refusal; layered #7256 moves it unchanged. No source from those open PRs is copied.
The composed title replay identified created1/inherits1/sampling1/pending0/clearGeneration0, but did not capture the old owner's type. Completed composed replays below provide supporting non-reproduction, but not exact admitted-branch proof; no FPS, full-suite, level-completion or console-equivalence claim. AI-assisted:yes(Codex);author responsible.
Proposed correction: #14084,now e269d111c4 on main121b. #12862 has merged;Depends on:none. Production fix remains identical to the pinned b582 control comparison above. Refreshed registration and24-case passes on each vendor. Completed954139d title follow-up below is supporting non-reproduction,not exact-branch proof;Completed f79/main121b traversal reaches34rings,then ordinary death/respawn,normalExitStage and normalOSclose0;barrel passage/farther stage remains unverified.
Completed supporting title replay: 954139d/mainca073 reaches seven rings,normal ExitStage,two idle-movie/Options returns and responsive Continue,then normal OS close0. Prior refusal not reproduced;exact admitted-branch hit and intermediate NOW LOADING are not verified,so no conclusive title-unblock claim. All394 libraries/immutable inputs verify afterward;0Vulkan errors/VUIDs,10known warnings. Deterministic main/control/fix proof above remains the basis for this defect.
Latest supporting composed title evidence: maintained in #4443: canonicaled55487/main3ee reaches34 rings, normal Exit Stage and clean Close0. Exact admitted-branch hit remains untraced, so this does not replace the deterministic source-pinned main/control/fix proof above or establish an isolated title unblock. #14084 remains open; the issue remains open pending merge. Detailed new title records remain local.