xboxrecomp — third-party attribution
====================================

xboxrecomp is MIT licensed (see LICENSE). The components listed below are
not, and are included here under their original licences with their original
copyright intact. They are other people's work and are credited as such.


LGPL-2.1-or-later — extracted from xemu
---------------------------------------

  https://github.com/xemu-project/xemu

  Files, with the copyright each one carries:

    src/apu/apu_core.c    MCPX APU core
                          (c) 2012 espes; 2018-2019 Jannik Vogel;
                          2019-2025 Matt Borgerson
    src/apu/apu_dsp.c     MCPX APU DSP (GP/EP)
                          (c) 2012 espes; 2019-2025 Matt Borgerson
    src/apu/apu_vp.c      MCPX APU voice processor
                          (c) 2012 espes; 2018-2019 Jannik Vogel;
                          2019-2025 Matt Borgerson
    src/apu/apu_regs.h    (c) 2012 espes; 2018-2019 Jannik Vogel;
                          2019-2021 Matt Borgerson
    src/apu/apu_state.h   (c) 2012 espes; 2018-2019 Jannik Vogel;
                          2019-2025 Matt Borgerson
    src/apu/apu_debug.h   (c) 2020-2021 Matt Borgerson
    src/apu/fpconv.h      (c) 2020-2025 Matt Borgerson
    src/nv2a/nv2a_regs.h  NV2A register definitions
                          (c) 2012 espes; 2015 Jannik Vogel
    src/nv2a/nv2a_core.c  NV2A core register handlers, adapted
                          (c) 2012 espes; 2015 Jannik Vogel;
                          2018-2025 Matt Borgerson
    src/nv2a/nv2a_state.h NV2A device state, adapted from nv2a_int.h
                          (c) 2012 espes; 2015 Jannik Vogel;
                          2018-2025 Matt Borgerson
    src/apu/apu.h         MCPX APU public API
                          (header has no copyright line)

  src/apu/apu_shim.h is this project's own file but is released under the
  same licence, because it exists only to host the extracted APU code.

  Licensed under the GNU Lesser General Public License, version 2.1 or (at
  your option) any later version. The full text is in LICENSES/LGPL-2.1.txt;
  the canonical copy is
  https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt

  These files keep their own licence. Linking against them from MIT or
  proprietary code is expressly permitted by the LGPL — that is what
  distinguishes it from the GPL. What the LGPL asks in return is that the
  notices stay, that the source stays available, and that a user can relink
  against a modified version. Distributing this repository, source included,
  satisfies that.


Derived algorithms — credited, independently implemented
--------------------------------------------------------

  src/d3d/d3d8_swizzle.h
    Implements Xbox Z-order (Morton) texture unswizzling. The
    masked-increment technique is Fabian Giesen's, published on his blog;
    xemu's hw/xbox/nv2a/pgraph/swizzle.c is cited in the file as the
    reference that pointed us at it.

  src/d3d/d3d8_combiners.h
    NV2A register-combiner translation. Cites xemu's pgraph combiner
    implementation as a reference for the hardware's behaviour.

  Algorithms and hardware behaviour are not themselves copyrightable, and
  these are our own implementations. They are listed here because the debt is
  real and should be visible even where no licence obligation attaches. If
  anyone believes either file crosses from "implements the same algorithm"
  into "copies the expression", raise an issue and we will rewrite or
  relicense it — getting the credit right matters more to us than the licence
  label.


MIT — from aknavj/xboxrecomp (D3D11 back end)
---------------------------------------------

  https://github.com/aknavj/xboxrecomp, branch modded-software-aknavj-rebased,
  commit 11a8aa1. MIT, "Copyright (c) 2026 sp00nz" (the xboxrecomp licence),
  written by Ondrej Vanka (aknavj) and contributors for scghost-recomp.

    src/kernel/nv2a_gpu.h          D3D11 back end interface
    src/kernel/nv2a_gpu_d3d11.cpp  D3D11 back end (local changes: no cloak
                                   hook, AA position scale, convolution
                                   filter, unmap before draw, occlusion
                                   query, oPos.w == 0)
    src/kernel/nv2a_gpu_shader.h   HLSL for vertex/fixed function/combiners
    src/d3d/nv2a_shader_cpu.h      shared CPU helpers

  Nothing from that repository's src/apu/dsp/ (GPL) is included.


Reference material (no code taken)
-----------------------------------

  xemu, Cxbx-Reloaded and xboxdevwiki were used as references for hardware
  behaviour: register offsets, kernel export ordinals, structure layouts.
  Those are functional facts rather than expression, and no code was copied
  for them.


Contributors to xboxrecomp itself are credited in CONTRIBUTORS.md.
