fix(agc): keep the first native multisample depth sampling refusal #6423
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6423"
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 Gashrod1 on 2026-10-15T14:53:23Z.
What
A native multisample depth surface keeps one sampling refusal (
DepthSamplingState::refusal), reported when the depth is sampled. Five transition sites assign it unconditionally:So a surface refused when it was created loses that reason as soon as one of these transitions follows. The sample then reports the transition, which is not the cause that blocks it.
Found with DAVE THE DIVER (PPSA19115), see https://github.com/boykopovar/AnyPS5/pull/6300#issuecomment-6193282566. Its 2-sample depth target is refused at creation with "requires watched accessible guest memory" (the range is host-imported, so unwatched). A whole HTILE fill follows, so the title reports "metadata fill transition is not implemented" and points at the wrong work.
DepthSamplingState::Refusenow keeps the first reason, and all five sites use it. Nothing changes about what is refused, only the reported reason.Tested
Linux, Intel Alder Lake-P iGPU (Mesa 26.2.4), on
mainff23657f3:agc_driver_native_multisample_depth: the unwatched-memory case in the eligibility test now also gets a metadata fill over its HTILE, then expects "watched accessible guest memory" again.agc_driver_native_multisample_depth,agc_driver_native_depth_retirement,agc_driver_native_depth_clearsandagc_driver_native_depth_clear_refusalspass.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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T15:03:45Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp