summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/phosphor.fx
diff options
context:
space:
mode:
Diffstat (limited to 'hlsl/phosphor.fx')
-rw-r--r--hlsl/phosphor.fx8
1 files changed, 1 insertions, 7 deletions
diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx
index 40d97cbf3ee..f6ba4573c49 100644
--- a/hlsl/phosphor.fx
+++ b/hlsl/phosphor.fx
@@ -61,12 +61,6 @@ struct PS_INPUT
uniform float TargetWidth;
uniform float TargetHeight;
-uniform float RawWidth;
-uniform float RawHeight;
-
-uniform float WidthRatio;
-uniform float HeightRatio;
-
uniform float TextureWidth;
uniform float TextureHeight;
@@ -86,7 +80,7 @@ VS_OUTPUT vs_main(VS_INPUT Input)
Output.Color = Input.Color;
float2 InvTexSize = float2(1.0f / TextureWidth, 1.0f / TextureHeight);
- Output.TexCoord = Input.TexCoord + float2(0.5f, 0.5f) * InvTexSize;
+ Output.TexCoord = Input.TexCoord + float2(1.0f, 1.0f) * InvTexSize;
Output.PrevCoord = Output.TexCoord;
return Output;