summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/phosphor.fx
diff options
context:
space:
mode:
Diffstat (limited to 'hlsl/phosphor.fx')
-rw-r--r--hlsl/phosphor.fx4
1 files changed, 1 insertions, 3 deletions
diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx
index 77ef58ca0ae..6547e077f7b 100644
--- a/hlsl/phosphor.fx
+++ b/hlsl/phosphor.fx
@@ -79,9 +79,7 @@ VS_OUTPUT vs_main(VS_INPUT Input)
Output.Color = Input.Color;
float2 InvTexSize = float2(1.0f / TargetWidth, 1.0f / TargetHeight);
- Output.TexCoord = Input.Position.xy * InvTexSize;
- Output.TexCoord += 0.5f / float2(TargetWidth, TargetHeight);
-
+ Output.TexCoord = Input.TexCoord;
Output.PrevCoord = Output.TexCoord;
return Output;