AMD FidelityFX Super Resolution (FSR) Scaler

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
maudrid
Posts: 1
Joined: Mon Aug 02, 2021 3:17 pm

AMD FidelityFX Super Resolution (FSR) Scaler

Post by maudrid »

Good day,
AMD FidelityFX Super Resolution (FSR) is our open source now and I have looked into the source code.
There are 2 C header files that need to be included to a project to add scaling options.
Since SCUMM VM has scalers implemented in a modular way, it may be quite easy to add a new scaler based on this.
Here, for example, is the hq.h scaler file: https://github.com/scummvm/scummvm/blob ... caler/hq.h
And here is the include header for FSR: https://github.com/GPUOpen-Effects/Fide ... ffx_fsr1.h
While I am a software developer, I'm not a C/C++ developer.
My main question is for any developers that work on SCUMM VM, would you mind taking a quick look at these and just give an opinion on the complexity of implementing an additional scaler that enable FSR?
If it is trivial, then maybe we can try and add it, maybe I learn some C++ and see if I can do it. I just don't want to waste my time on something that may be too complex for me to do.
Thanks!
User avatar
sev
ScummVM Lead
Posts: 2272
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Re: AMD FidelityFX Super Resolution (FSR) Scaler

Post by sev »

That is absolutely non-portable, e.g. it is written Windows-only, but even if effort for porting is made, the thing is depending on GPU using Vulkan on GLSL API. E.g. it is not a software renderer ScummVM is using.

There is some work for adding shader support to ScummVM, which means that somebody could theoretically try to port this scaler to that upcoming framework.


Eugene
Post Reply