mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
PA_SU_SC_MODE_CNTL with POLY_MODE set to a point or line type was refused, and every triangle was drawn filled. The state decode now takes the polygon type of the faces that are not culled into State::polygonMode, ignores the types when POLY_MODE is clear or the primitives are points or lines, and keeps refusing front and back types that differ while both faces are drawn. Points are drawn one pixel wide (PA_SU_POINT_SIZE 0x00080008 inside PA_SU_POINT_MINMAX), the size VK_KHR_maintenance5 gives a point whose shader does not write PointSize, and lines one pixel wide (PA_SU_LINE_CNTL). The device enables fillModeNonSolid and maintenance5 when they are available. The polygon mode joins the pipeline, library and draw keys and the pipeline journal (format 5). Co-Authored-By: Claude Opus 5.5 <[email protected]>