mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-02 12:56:05 +00:00
A draw with PA_SC_AA_CONFIG.MSAA_NUM_SAMPLES 2 (4x) and MSAA_ENABLE clear into a 4x depth/stencil and color pair threw "multisampled targets rasterized without MSAA_ENABLE are unsupported for points, lines, a depth target or alpha-to-coverage", which stops METAL GEAR SOLID: Peace Walker (PPSA18216) at its first presentation (draw B on #5268). A depth target with the same sample count now gets the same pixel center samples as the color targets, so each depth and stencil sample is tested and written with the depth at the pixel center, as GL allows when multisampling is disabled. DB_EQAA Z interpolation or overrasterization and a sample-mask export with a depth target throw on this path. Co-Authored-By: Claude Opus 5.5 <[email protected]>