Static Parameters = extra speed
For those of you who don’t mind tinkering with text files and are in the need of some fps boost,
there is a new file in the shader tree, it is called config/config-user.txt
I’m not joking when I say that a complete edit of that file gave me a boost of 45%; I’ve seen my fps going from 110 to 160.
That file can contain every parameter supported by the shader.
Normally you would edit that parameters within Retroarch itself and see how the shader reacts to them, but by editing that file, instead, you will make those parameters static,and this is what will give you extra performances.
The downside of using this method is that every setting
you will write here, will be static and so that
you will NOT BE ABLE RO MODIFY it "on-the-fly" in Retroarch anymore.
Lines have this format: #define PARAMETER VALUE
* PARAMETER is the shader parameter as defined in config.inc
(look for lines starting with #pragma there).
* VALUE is the value you want to assign to that parameter.
(it is the same you would assign to that within retroarch)
Notice, there is no equal sign, nor double quotes, so, eg:
If you know that you will always use the bezel frame:
#define DO_BEZEL 1.0
If you know you'll never alter the contrast:
#define CONTRAST 0.0
If you know your curvature will never change:
You can disable a line by erasing it or,
since everything after "//" is ignored,
by prepending "//", eg:
// #define DO_BEZEL 1.0
...that's it, you just need to copy the values from the
preset you like to the right setting here.