Minor workaround for 5xBR,

Also screen scaling filter for upscaling filters that also happen to use postShaderAtOutputResolution_.
This commit is contained in:
LunaMoo 2017-02-23 22:54:50 +01:00
parent c355947bca
commit d6c2944aac
2 changed files with 2 additions and 2 deletions

View File

@ -975,7 +975,7 @@ void FramebufferManagerCommon::CopyDisplayToOutput() {
// flip V.
if (needBackBufferYSwap_)
std::swap(v0, v1);
bool linearFilter = g_Config.iBufFilter == SCALE_LINEAR;
bool linearFilter = !postShaderIsUpscalingFilter_ && g_Config.iBufFilter == SCALE_LINEAR;
shaderManager_->DirtyLastShader(); // dirty lastShader_ BEFORE drawing
PostShaderUniforms uniforms{};

View File

@ -23,6 +23,6 @@ attribute vec2 a_texcoord0;
varying vec2 v_texcoord0;
void main() {
v_texcoord0 = a_texcoord0;
v_texcoord0 = a_texcoord0 + 0.000001; //precision workaround for HLSL translation
gl_Position = a_position;
}