src/d3d/gpu/ (state.h, shaders.*, vertex.*, texture.*, backend.h, ext.h) is taken from TGP482's
Xbox XBE Recomp SDK (https://github.com/TGP482/Xbox-XBERecomp, runtime/gpu, commit 65e959d4,
2026-10-11; MIT License, Copyright (c) 2026 TGP482), the general form of the renderer of
SCDA-XBERecomp (https://github.com/TGP482/SCDA-XBERecomp; MIT License, Copyright (c) 2026 TGP482,
Joshhhuaaa), whose xdk/d3d8.cpp and gpu/d3d12.cpp src/d3d/hle.cpp and src/d3d/vk/backend.cpp
follow. Adapted to this project: Vulkan in place of Direct3D 12, Ninja Gaiden Black's D3D8LTCG conventions.
src/d3d/gpu/threaded.cpp follows the SDK's runtime/gpu/render_thread.cpp (https://github.com/TGP482/XboxXBE-Recomp,
commit 0fd0044, 2026-10-26; same license and copyright), with the resource headers kept as copies the renderer
reads through (gpu/headers.h) and the game's side of each call (gpu::Peek) recorded with it.
src/d3d/compat/ maps that code's host interfaces (guest memory, logging, DXGI format names) onto
this runtime.

MIT License

Copyright (c) 2026 TGP482
Copyright (c) 2026 TGP482, Joshhhuaaa

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
