mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-23 08:11:29 +11:00
texcoord rounding fix for ddt
This commit is contained in:
parent
3e1b418f7c
commit
88dbcaaef7
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue