[client] egl: mark all preset-only options as such

This commit is contained in:
Quantum 2021-08-30 04:17:25 -04:00 committed by Geoffrey McRae
parent 44850f1699
commit 3345ff8448
4 changed files with 10 additions and 0 deletions

View File

@ -81,6 +81,7 @@ static void egl_filterDownscaleEarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "downscale", .name = "downscale",
.description = "Enable downscaling", .description = "Enable downscaling",
.preset = true,
.type = OPTION_TYPE_BOOL, .type = OPTION_TYPE_BOOL,
.value.x_bool = false .value.x_bool = false
}, },
@ -88,6 +89,7 @@ static void egl_filterDownscaleEarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "downscalePixelSize", .name = "downscalePixelSize",
.description = "Downscale filter pixel size", .description = "Downscale filter pixel size",
.preset = true,
.type = OPTION_TYPE_FLOAT, .type = OPTION_TYPE_FLOAT,
.value.x_float = 2.0f .value.x_float = 2.0f
}, },
@ -95,6 +97,7 @@ static void egl_filterDownscaleEarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "downscaleHOffset", .name = "downscaleHOffset",
.description = "Downscale filter horizontal offset", .description = "Downscale filter horizontal offset",
.preset = true,
.type = OPTION_TYPE_FLOAT, .type = OPTION_TYPE_FLOAT,
.value.x_float = 0.0f .value.x_float = 0.0f
}, },
@ -102,6 +105,7 @@ static void egl_filterDownscaleEarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "downscaleVOffset", .name = "downscaleVOffset",
.description = "Downscale filter vertical offset", .description = "Downscale filter vertical offset",
.preset = true,
.type = OPTION_TYPE_FLOAT, .type = OPTION_TYPE_FLOAT,
.value.x_float = 0.0f .value.x_float = 0.0f
}, },
@ -109,6 +113,7 @@ static void egl_filterDownscaleEarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "downscaleFilter", .name = "downscaleFilter",
.description = "Downscale filter type", .description = "Downscale filter type",
.preset = true,
.type = OPTION_TYPE_INT, .type = OPTION_TYPE_INT,
.value.x_int = 0 .value.x_int = 0
}, },

View File

@ -56,6 +56,7 @@ static void egl_filterFFXCASEarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "ffxCAS", .name = "ffxCAS",
.description = "AMD FidelityFX CAS", .description = "AMD FidelityFX CAS",
.preset = true,
.type = OPTION_TYPE_BOOL, .type = OPTION_TYPE_BOOL,
.value.x_bool = false .value.x_bool = false
}, },
@ -63,6 +64,7 @@ static void egl_filterFFXCASEarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "ffxCASSharpness", .name = "ffxCASSharpness",
.description = "AMD FidelityFX CAS Sharpness", .description = "AMD FidelityFX CAS Sharpness",
.preset = true,
.type = OPTION_TYPE_FLOAT, .type = OPTION_TYPE_FLOAT,
.value.x_float = 0.0f .value.x_float = 0.0f
}, },

View File

@ -61,6 +61,7 @@ static void egl_filterFFXFSR1EarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "ffxFSR", .name = "ffxFSR",
.description = "AMD FidelityFX FSR", .description = "AMD FidelityFX FSR",
.preset = true,
.type = OPTION_TYPE_BOOL, .type = OPTION_TYPE_BOOL,
.value.x_bool = false .value.x_bool = false
}, },
@ -68,6 +69,7 @@ static void egl_filterFFXFSR1EarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "ffxFSRSharpness", .name = "ffxFSRSharpness",
.description = "AMD FidelityFX FSR Sharpness", .description = "AMD FidelityFX FSR Sharpness",
.preset = true,
.type = OPTION_TYPE_FLOAT, .type = OPTION_TYPE_FLOAT,
.value.x_float = 1.0f .value.x_float = 1.0f
}, },

View File

@ -70,6 +70,7 @@ void egl_postProcessEarlyInit(void)
.module = "eglFilter", .module = "eglFilter",
.name = "order", .name = "order",
.description = "The order of filters to use", .description = "The order of filters to use",
.preset = true,
.type = OPTION_TYPE_STRING, .type = OPTION_TYPE_STRING,
.value.x_string = "" .value.x_string = ""
}, },