Vendored from https://github.com/shadps4-emu/shadPS4 commit b4e7ae776071ceb1dd35004577a8719481e1d258 (GPL-2.0-or-later).
Directories: src/video_core, src/shader_recompiler, src/common, src/core/libraries/{gnmdriver,videoout}, externals/gcn, externals/sirit, externals/half.
Also: src/core/libraries/kernel/{orbis_error,posix_error,time,process,equeue}.h, equeue.cpp, src/core/libraries/error_codes.h, src/core/platform.h, src/core/libraries/system/{userservice,systemservice}.h.
Also: src/core/libraries/avplayer (without the handle streamer), src/core/libraries/videodec/video_utils.{h,cpp}.
Local changes are marked with "tlg:" comments.
Backported from upstream after b4e7ae7 (2026-10-02), recompiler correctness fixes only:
  233562929 V_INTERP_MOV_F32 P10/P20 selectors (#5087), d96278e1e compute shader floating-point
  mode (#5126), e518a6515 S_SUBB_U32 SCC wrap (#5031), 282e5c792 S_ADDC_U32 SCC carry-out (#5030),
  fb6367d29 32-bit literals in the high dword of 64-bit floats (#5114), 94e217781 V_BFM_B32 (#5185),
  d1cb90dbb ADDC (#5200), dd43d1cac V_CVT_PK_U8_F32 (#5194), ef08b1e1f V_ALIGNBIT/ALIGNBYTE (#5186).
Ported from the shadPS4-Infamous-FixBuild fork (https://github.com/rayhlancaner-png/shadPS4-Infamous-FixBuild,
GPL-2.0-or-later; authors Eye Of The Ruins/rayhlancaner-png, TOXIC-KID, 0xDeftones), adapted to our tree:
  32851afe float atomic min/max with one integer atomic, 03db8f14 stencil test/op values,
  e656365e allocate past the memory budget, e35e04dc pageable device local memory,
  4a206865 residency granules, 0c3fada0 residency OOM retry, a107bf06 uploads in parts,
  89854b0b + bde510f8 compute pipelines off the GPU thread, 0dff21f1 pipeline creation retry,
  7e1c7cab submit in pieces, ee423726 + 2d2511fe + 9a5224bf guest threads wait for their own readbacks.
Ported from the Shadow of the Colossus native port (https://github.com/AjncSystem/ShadowOfTheColossus-PC,
GPL-2.0, AjncSystem; its multi-wave/ReadLane part credits Pink-shadPS4 by luizgustavs), adapted to our tree
(shader_recompiler/recompiler_toggles.h):
  6f0b3e56 + shared_memory_barrier_pass.cpp at 70bb4385 LDS barriers for partial-wave and multi-wave
  compute workgroups (IR SubgroupBarrier), debb0c49 + e3227814 S_WQM_B64.
Backported as switchable "BPnn" fixes (common/backports.h; TLG_BPnn / ISS_BPnn, one commit each, origin in the commit message):
  BP01 shadPS4 #5258, BP02 shadPS4 145932bf (#5240), BP03 shadPS4 c34ca21f, BP04 shadPS4 1c2b8f97 (#5346),
  BP05 shadPS4 #5257, BP10 shadPS4 #5262, BP11 shadPS4 #5348, BP12 shadPS4 7d28d279 (#5264);
  BP06 Shadow of the Colossus native port 8d84cf7 (maximal reconvergence);
  BP07 bbport (deadinside/bloodborne_pc) 10baf9d (async compile that does not skip draws);
  BP08 Mrsuss60/bloodborne_pc_windows_port b972798 and 0xCydral/bloodborne_pc bdb9769 + 4f16e00 (driver pipeline cache blob);
  BP09 T3CHNOLOG1C/CTR d26bcb2 (1D images lowered to 2D).
