summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/phosphor.fx
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-28 14:14:05 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-28 14:14:05 +0000
commit244eb4cf248f642c4ab572af923c4b902ebc7ebf (patch)
treedfcf6ce1dc13d6012bee0cef7708b45563986539 /hlsl/phosphor.fx
parent75f1480ae9499ba59f9f1ac9d2bbdf77230591f8 (diff)
No whatnsew: Really, really, really fixed the remaining pixel alignment and UV clamping issues. Tested Gradius, Pac-Man, Mr. Do, and Stompin' with no observed issues. Gradius, in particular, is a good test case as the bottom row of its "Credits" readout lies on the bottom row of pixels, and the scrolling starfield allows visual verification of the X extents as they scroll on and off.
Diffstat (limited to 'hlsl/phosphor.fx')
-rw-r--r--hlsl/phosphor.fx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx
index 6512cc4739a..6fa136b9eb2 100644
--- a/hlsl/phosphor.fx
+++ b/hlsl/phosphor.fx
@@ -78,7 +78,7 @@ VS_OUTPUT vs_main(VS_INPUT Input)
Output.Color = Input.Color;
float2 InvTexSize = float2(1.0f / TargetWidth, 1.0f / TargetHeight);
- Output.TexCoord = Input.TexCoord + 0.5f * InvTexSize;
+ Output.TexCoord = Input.TexCoord + 0.5f * InvTexSize;
Output.PrevCoord = Output.TexCoord + 0.5f * InvTexSize;
return Output;