AnyPS5/core
Alberto Ruiz cc3d2d21ef fix(shader): skip the push constant copy when there is nothing to copy
decodeResult and decodeAllocation called memcpy with the data() of
empty vectors, which may be null. Passing a null pointer to memcpy is
undefined even for a zero size, and UBSan reports it on every entry
without push constants, including the existing shader disk cache test.
The copy now runs only for a non-empty table, as Reader::Values does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R5WJS4ZdQynAJesCZKH5hb
2026-10-01 13:28:36 +02:00
..
Decoder refactor(cmake): require explicit runtime target for png and jpeg decoders 2026-10-01 12:38:06 +03:00
libs Merge pull request #148 from SamG-Coder/codex/shader-corpus-instructions 2026-10-01 13:45:19 +03:00
relinker feat(relinker): lower CLZERO for --to-intel 2026-10-01 12:30:35 +02:00
shader/recompiler fix(shader): skip the push constant copy when there is nothing to copy 2026-10-01 13:28:36 +02:00