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 "spartanport:" comments.
Backported from upstream after b4e7ae7 (2026-10-02), correctness fixes:
  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).
  0f6d1b870 stable SlotVector address-space reservation (#5212), adapted to the existing API.
  359234bbb SlotVector allocation bitset bounds check (#5158).
  ca36c7e31 subresource extents compared per dimension (#5524).
  afde63182 buffer image copies between different layer counts (#5299).
  b3d46e96f every shared mip level copied in CopyImageWithBuffer (#5368).
  7ea677e56 packet sizes read before the packet runs (#5541).
  2338a06f9 device-scaled texture GC floors only (#5193), via Julio Cacko c7d495ce3d.
  ed8a479e2 compute image clears with a different component count rejected (#5598), plus an exact-format check.
  ee0364a9c mip levels clamped to the extent's full mip chain (#5453).
  28ad5d998 blit pipelines use the backing images' real sample counts (#5595).
  12c5978f6 nested indirect-buffer coroutine frames freed (#5258), by the SCOPE_EXIT guards of f9d07487d (#5446).
  e6c79a5fe constant-engine counter waits: no unsigned wrap, no null task resumed (#5406).
