Merge pull request #9352 from LunaMoo/upscalingStuff

Minor workaround for 5xBR
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2017-02-23 23:04:36 +01:00
commit f065f100ee
2 files changed
+2 -2

No files matched your search

+1 -1
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{};
+1 -1
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;
}