texcoord rounding fix for ddt

This commit is contained in:
hunterk 2016-09-29 22:07:34 -05:00
parent 3e1b418f7c
commit 88dbcaaef7

View file

@ -80,7 +80,7 @@ layout(location = 2) out vec2 loc;
void main()
{
gl_Position = global.MVP * Position;
vTexCoord = TexCoord;
vTexCoord = TexCoord * 1.00001;
float2 ps = float2(params.SourceSize.z, params.SourceSize.w);
float dx = ps.x;
@ -143,4 +143,4 @@ float2 pos = frac(loc * 1.00001)-float2(0.4999, 0.4999); // pos = pixel position
float3 color = bilinear(p, q, A, B, C, D);
FragColor = vec4(color, 1.0);
}
}