Rect-list draw aborts with "prepared rectangle artifacts are missing" when its pixel variant was prepared at draw #1927
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 fisherjoey on 2026-10-09T00:16:14Z.
Stray (PPSA02100 v1.05, Unreal Engine 4) aborts on a rect-list draw:
Setup: Linux (Nobara 44, kernel 7.2), RTX 5070 Ti, NVIDIA 595.91.07. Base is
main1be6f9f1+ #861 + #1836 + #1837 + #1893 + #1902 + #1904.A rect-list draw looks up
PreparedRectangle(front, vertexVariant, fragmentVariant). Rectangles are only built inResolvePreparedGraphics, which runs when the title callssceAgcCreateInterpolantMappingwith its own pixel shader. A pixel variant that is prepared later, at the draw, never gets a rectangle with that front. Two cases do that today: the driver's null pixel program (#1901 / #1902) and shaders deferred at registration (#1836). In Stray the draw right afterThe null pixel program has no artifact for this draw ...; preparing it at drawis a rect-list draw, and it aborts here.Fix: when the rectangle is missing, build it at the draw with
ResolvePreparedGraphicsfrom the two stages, which are already prepared, then look it up again. Only the rect-list helper is built; neither stage is recompiled. PR: #____AI-assisted: yes