revert(agc): revert #15967 zero-scan skip, red on real Windows GPUs #18129
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18129"
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 oneandonlydean on 2026-11-10T14:57:38Z.
Reverts #15967 (merge
7162a53177). It is an exact inverse: 10 files, 8 insertions and 386 deletions, the mirror of the original.Main has been red on real Windows GPUs since that merge. Four AGC tests fail there:
agc_driver_msaa_dcc_clear_2,_4and_8: "a same-value CPU color store did not invalidate multisampled DCC residency"agc_driver_native_depth_publication: "a native depth publication overwrote a byte the guest stored"Reported in #18113 (RTX 4080, passes on
d03beaf110, fails on356bf9296bandb12b49a6e7) and #18114 (RX 6750 XT, bisected:7162a53177is the first bad commit, its first parent9af2e01971passes).Cause: the change drops a page from the collected writes when the write watch reports it but the page is still all zero. That is what the added
CheckKnownZeroFirstReadstest asserts ("a zero store into a never-written page was not collected"). A guest store of zero over zero is therefore invisible, and the DCC residency and depth publication paths rely on seeing those stores.GitHub's Windows job has no GPU. It builds with
ANYPS5_AGC_EXECUTION_TESTS=F16ToF32Unpack;F64FmaSubnormals;RegistrationPrepareShutdown, so the four tests show as skipped and CI stayed green.The skip-never-written-pages idea can come back with a design that still reports a zero store, and with a test that fails on this bug.
Hi @sktharunbalaji13-cmd, thank you for the work on #15967; this is only because of the zero-store case above.