mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
Decode DB_Z_INFO.MAXMIP and DB_DEPTH_VIEW.MIPID and render into the selected level of a 64 KiB Z_X mip chain as a surface of its own, at the level's offset and extent from ComputeElementMipLayout, as color target mips do. Slices of a mip chain step by the size of the whole chain. Multisampled depth mips, other swizzles, levels in the packed mip tail and HTILE on a mip chain still throw. LEGO Builder's Journey (PPSA05496) stopped at its first scene on "depth mips (DB_DEPTH_VIEW MIP_LEVEL) is unsupported".