mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-01 12:45:56 +00:00
- Depth/stencil: draws that test depth or stencil against a bound surface render with a GPU-only depth/stencil attachment (DepthSurface), cleared to DB_DEPTH_CLEAR/DB_STENCIL_CLEAR when made. Z test/write/function and per face the stencil function, operations and masks (BACKFACE_ENABLE); replacements by another value where Vulkan's single reference can carry them. Clear and copy draws, add/sub other than 1, array or mip views and MSAA throw, and texture reads of a surface's memory are refused. Scaleform menus mask with the stencil (REPLACE 0, ADD_CLAMP, EQUAL); their masked content was skipped before. - Mipmapped color targets render through the resident image of the whole chain with a view of the mip, so mips in the packed tail are drawn too; CB_COLOR_VIEW's mip level is read from bits 26-29 (GFX10). - Color: SNORM targets, UNORM16/SNORM16 exports, one-component formats honouring COMP_SWAP (A8), 32_R/32_GR/32_AR exports, linear rows padded to 256 bytes, BLEND_BYPASS. - INDIRECT_BUFFER jumps are followed when copying a submission; thin 3D textures in display and rotated XOR swizzles; only the bytes the GPU changed are written back; resource registration. - VideoOut: a flip stalls the GPU queue while the flip queue is full and holds the submitter back. - APS5_DUMP_FRAMES_EVERY dumps every k-th presented frame. - The graphics test target builds again (missing sources, a hand-aligned 64 KiB buffer, stale expectations updated) and gains DepthStencilTests. Co-Authored-By: Claude Opus 5.5 <[email protected]>