diff options
Diffstat (limited to 'hlsl/phosphor.fx')
-rw-r--r-- | hlsl/phosphor.fx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx index 6547e077f7b..fcfe6bdba53 100644 --- a/hlsl/phosphor.fx +++ b/hlsl/phosphor.fx @@ -79,8 +79,8 @@ VS_OUTPUT vs_main(VS_INPUT Input) Output.Color = Input.Color; float2 InvTexSize = float2(1.0f / TargetWidth, 1.0f / TargetHeight); - Output.TexCoord = Input.TexCoord; - Output.PrevCoord = Output.TexCoord; + Output.TexCoord = Input.TexCoord + 0.5f / float2(RawWidth, RawHeight); + Output.PrevCoord = Output.TexCoord + 0.5f / float2(RawWidth, RawHeight); return Output; } |