mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
c70ef8484d
gl_render_thread_test runs a scripted stream through the facade twice per scale (1x, 4x): every value the guest reads back, native VRAM, the frame at internal resolution and the native-wide surface must match with the render thread off and on. The stream has mask set/check, a mask-checked upload (per-pixel readback sync point), back-to-back uploads of one rect with a catch-up between gpu.c's writes and its commit, ring wraps, readback frames, presents, and widescreen tags that change per primitive and are poisoned after each call. A slow render-thread present keeps the replay a frame behind. It fails for each of: reading tags live, sharing the upload source with the guest array, dropping the stream state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>