mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
Each depth surface stores its plane through a storage image of its own, kept for the surface's life. A title that switches output resolution binds new depth targets over memory where the previous targets' planes were, and the old images stayed live there. Storage images over the same memory lend each other pending results, so a later store of the new plane did not reach guest memory and buffer reads kept seeing the old depth. A bind now drops the images and the pending store of older surfaces whose planes overlap its plane over another range. A same-range surface (another stencil or HTILE address) keeps its image. The scan runs only when a surface or plane image was created since the surface's last scan. AI-assisted: yes