mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 01:11:32 +11:00
Merge branch 'master' of https://github.com/libretro/slang-shaders
This commit is contained in:
commit
1cc61065e6
|
@ -80,7 +80,7 @@ layout(location = 2) out vec2 loc;
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
gl_Position = global.MVP * Position;
|
gl_Position = global.MVP * Position;
|
||||||
vTexCoord = TexCoord;
|
vTexCoord = TexCoord * 1.00001;
|
||||||
|
|
||||||
float2 ps = float2(params.SourceSize.z, params.SourceSize.w);
|
float2 ps = float2(params.SourceSize.z, params.SourceSize.w);
|
||||||
float dx = ps.x;
|
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);
|
float3 color = bilinear(p, q, A, B, C, D);
|
||||||
FragColor = vec4(color, 1.0);
|
FragColor = vec4(color, 1.0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue