The runtime upscales a game's rendering in two places: a Switch 2 game's DLSS evaluations, and the upscalers of a
game's own that a hook module replaces (Hooks, Modules). Both go through one
interface, src/nx/gpu/vk/upscaler/upscaler.h. Its caller gives a picture at a render size with whatever else it has
(depth, motion vectors, exposure, jitter), and gets it at an output size. The caller never names a technology: the
render_upscaler setting prefers one, and the caller says which kinds it takes. When no upscaler it takes can run,
it is told so and runs its own fallback.
The presented frame's effects (FXAA, the present-time upscalers of the window) are another thing: they scale the frame the game finished, after everything here.
Made from docs/layers/gpu/upscalers.md at 69237645142c. GPL-3.0-or-later.