mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
Since #5263 the Linux job restores a lavapipe shader cache keyed by the runner's /proc/cpuinfo flags. llvmpipe compiles shaders with LLVM's host CPU *name* (from vendor, family and model) plus the detected feature bits, and keys its cache only by the feature bits, so two runners with the same flags but different models share cached code. A hull shader JIT-compiled on a znver4/znver5 or Ice Lake class host uses GFNI (vgf2p8affineqb); loaded on a Zen 3 host with the same flags it raises SIGILL, which is what agc_driver_tessellation has been hitting on main and on dispatched builds since the first main build after #5234 saved that hull variant. Hash vendor_id, cpu family, model and flags into the key, so a runner only restores code compiled for its own CPU model, and print the model name so a future mismatch can be read off the log.