mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-09 11:31:34 -10:00
A GSString (Common/GSString.h, a C89 growable string kept NUL-terminated, with its own unit test) is what the OpenGL device assembles a shader's header, macros and code into, in two kept buffers; the convert vertex shader's source is one too. The program cache takes sources as pointer and length, hands the program back through an out parameter, and keeps its filenames on the stack; the compute program path, which nothing used, and the pre-link callback, which nothing passed, go. GLProgram's info logs are malloc'd and logged; the pcsx2_bad_shader_N.txt file a failed compile wrote into the working directory is not written any more. The GL debug callback logs from the message in place.