Start stereo postshader work

This commit is contained in:
Henrik Rydgård 2022-10-20 16:16:52 +02:00
parent fb250c4b29
commit 12d1f94d47
2 changed files with 3 additions and 0 deletions

View file

@ -169,6 +169,7 @@ void LoadPostShaderInfo(Draw::DrawContext *draw, const std::vector<Path> &direct
info.vertexShaderFile = path / temp;
section.Get("OutputResolution", &info.outputResolution, false);
section.Get("Upscaling", &info.isUpscalingFilter, false);
section.Get("Stereo", &info.isStereo, false);
section.Get("SSAA", &info.SSAAFilterLevel, 0);
section.Get("60fps", &info.requires60fps, false);
section.Get("UsePreviousFrame", &info.usePreviousFrame, false);

View file

@ -39,6 +39,8 @@ struct ShaderInfo {
bool outputResolution;
// Use x1 rendering res + nearest screen scaling filter
bool isUpscalingFilter;
// Is used to post-process stereo-rendering to mono, like red/blue.
bool isStereo;
// Use 2x display resolution for supersampling with blurry shaders.
int SSAAFilterLevel;
// Force constant/max refresh for animated filters