mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
Brings upstream maina6dcea927under #6300's two commits. Conflicts: - DepthSurface.cpp prepareDepthSampling: #6300's stencil checks are kept and main's752cca10fdrops the ITERATE_256 requirement, so the HTILE check is main's line ("requires pipe-aligned HTILE without VRS"). - DepthSurface.cpp NoteHtileDepthClear and NoteDepthMetadataFill: #6300's clear and fill proofs are kept, written with main's first-refusal-wins DepthSamplingState::Refuse. After the proven whole-fill branch, the remaining fills take main's ForgetClear/NoteHtileClear and single-sample plane-fill paths. - NativeMultisampleDepth.cpp CheckDepthTarget takes both #6300's ClearSource and main's iterate256, in that order; main's ITERATE_256 call passes ClearSource::HtileDispatch. - docs/dev/debt/libSceAgcDriver.md: one entry with #6300's stencil and fill text and main's ITERATE_256 text. Adapted to main: main samples a native multisampled depth target through a shadow copy that is refreshed when the sampled view is looked up (1912045c1,5a0a00f42). CheckStencilTarget recorded its raster and the fetch in one batch, so the fetch read the shadow from before the raster ("native depth-stencil sampled fetch lost a depth sample or a stencil test outcome"). It now submits the raster, looks the view up again and syncs before the fetch, as main's CheckDepthTarget does.