mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-22 21:09:34 -10:00
DLSS and FSR weigh their history by the frame time delta they are handed. A core that leaves it at 0 had the NGX backends pass 0 on, and FSR a fixed 16.667 ms. With no time between frames the upscaler's weighting of motion against time is undefined, and on a real display it showed as single frames now and then presented without their history: the raw jittered sample with every edge aliased. The shared layer now supplies the period of the core's declared frame rate when the core gave no frame time, which is what a presented frame advances the content by whatever the clock did. The Vulkan and D3D12 harnesses check it reaches the evaluate.