Record of Lodoss War (PPSA05347) on Windows: AGC draw aborts with "unsupported primitive type 3" (line strip) #4572
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T15:59:24Z.
Record of Lodoss War (PPSA05347, from the owner's own dump), Windows 10, MinGW GCC, NVIDIA RTX 4080 SUPER, libs built from
main3d8ffeb27(thelibs_latebuild of this series of test runs), relinked with 0 absent imports.Observed: in four separate runs (
run_172908,run_173759,run_174128,run_174853, all on 2026-10-12) the title runs until the first presentation of a draw and then aborts withThe throw is the
default:branch of the primitive-type switch incore/libs/prx/libSceAgcDriver/Graphics/src/State.cpp(DecodeState, user config register0x242). The switch maps 1 (point list), 2 (line list), 4 (triangle list), 5 (triangle fan), 6 (triangle strip), 7 and 17 (rect list) and 9 (patch) and has no case for 3.Source for the value: shadPS4
src/video_core/amdgpu/regs_vertex.h,enum class PrimitiveType:LineList = 2, LineStrip = 3, TriangleList = 4, TriangleFan = 5, TriangleStrip = 6, PatchPrimitive = 9, ... RectList = 17, so 3 is the line strip;renderer_vulkan/liverpool_to_vk.cppmaps it tovk::PrimitiveTopology::eLineStrip.Not established: which draw issues it, whether the title relies on primitive restart for the strip, and whether the cases 1 and 2 style restrictions (point/line list handling in the same switch) apply to a line strip here. I have not changed the code. A candidate fix is a
case 3withVK_PRIMITIVE_TOPOLOGY_LINE_STRIPplus a test; I have not tried it.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T16:30:41Z.
For information: PR #4584 (
fix(agc): decode primitive type 3 as a line strip) adds the missingcase 3inDecodeState.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-13T20:14:17Z.
#4584 (
fix(agc): decode primitive type 3 as a line strip) was merged on 2026-10-13 as02d4839b6, so this stop is fixed onmainand the issue can be closed.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T00:08:48Z.
Closing: #4584 decodes primitive type 3 as a line strip on main. Comment here if the title still stops on it on current main.