mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
The initial import of a native multisampled depth target only proceeds when every HTILE word proves the same clear value, so no compressed Z planes are read from guest memory. ITERATE_256 only changes how the DB and the texture unit walk compressed MSAA Z planes (Mesa ac_descriptors.c: "TC-compatible MSAA HTILE requires ITERATE_256"). The HTILE footprint (Addrlib) and the HTILE clear words (Mesa radv_get_htile_fast_clear_value) do not depend on it. The import no longer requires it; the texture's ITERATE_256 must still match the target's. Unblocks PPSA27836 (Onimusha: Way of the Sword), which samples a four-sample D32 target with pipe-aligned HTILE and ITERATE_256 off. Co-Authored-By: Claude Opus 5.5 <[email protected]>