add AMD texcoord fix to super-xbr shaders

This commit is contained in:
hunterk 2017-04-07 15:00:42 -05:00
parent e071050ed0
commit 0424ec969d
14 changed files with 14 additions and 14 deletions

View file

@ -96,7 +96,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -127,7 +127,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -118,7 +118,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -122,7 +122,7 @@ layout(location = 4) out vec4 t4;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
float dx = params.SourceSize.z; float dx = params.SourceSize.z;
float dy = params.SourceSize.w; float dy = params.SourceSize.w;

View file

@ -127,7 +127,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -118,7 +118,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -122,7 +122,7 @@ layout(location = 4) out vec4 t4;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
float dx = params.SourceSize.z; float dx = params.SourceSize.z;
float dy = params.SourceSize.w; float dy = params.SourceSize.w;

View file

@ -118,7 +118,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -118,7 +118,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -122,7 +122,7 @@ layout(location = 4) out vec4 t4;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
float dx = params.SourceSize.z; float dx = params.SourceSize.z;
float dy = params.SourceSize.w; float dy = params.SourceSize.w;

View file

@ -116,7 +116,7 @@ layout(location = 4) out vec4 t4;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
float dx = params.SourceSize.z; float dx = params.SourceSize.z;
float dy = params.SourceSize.w; float dy = params.SourceSize.w;

View file

@ -104,7 +104,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -106,7 +106,7 @@ layout(location = 0) out vec2 vTexCoord;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
} }
#pragma stage fragment #pragma stage fragment

View file

@ -108,7 +108,7 @@ layout(location = 4) out vec4 t4;
void main() void main()
{ {
gl_Position = global.MVP * Position; gl_Position = global.MVP * Position;
vTexCoord = TexCoord; vTexCoord = TexCoord * 1.0001;
float dx = params.SourceSize.z; float dx = params.SourceSize.z;
float dy = params.SourceSize.w; float dy = params.SourceSize.w;