From 76962a2081b96dab9a5cdde4fbc873a841398c4d Mon Sep 17 00:00:00 2001 From: Ryan Holtz Date: Sat, 21 May 2011 07:51:50 +0000 Subject: Dot crawl tweak. nw --- hlsl/yiq_encode.fx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hlsl/yiq_encode.fx') diff --git a/hlsl/yiq_encode.fx b/hlsl/yiq_encode.fx index 2036ccef8fe..98c1d3a17fe 100644 --- a/hlsl/yiq_encode.fx +++ b/hlsl/yiq_encode.fx @@ -107,10 +107,10 @@ float4 ps_main(PS_INPUT Input) : COLOR float2 Coord3 = Input.Coord3.xy * Scaler; float W = WValue; - float T0 = Coord0.x + AValue * Coord0.y + BValue - 1.1f; - float T1 = Coord1.x + AValue * Coord1.y + BValue - 1.1f; - float T2 = Coord2.x + AValue * Coord2.y + BValue - 1.1f; - float T3 = Coord3.x + AValue * Coord3.y + BValue - 1.1f; + float T0 = Coord0.x + AValue * Coord0.y + BValue;// - 1.1f; + float T1 = Coord1.x + AValue * Coord1.y + BValue;// - 1.1f; + float T2 = Coord2.x + AValue * Coord2.y + BValue;// - 1.1f; + float T3 = Coord3.x + AValue * Coord3.y + BValue;// - 1.1f; float Y0 = dot(Texel0, float3(0.299f, 0.587f, 0.114f)); float I0 = dot(Texel0, float3(0.595716f, -0.274453f, -0.321263f)); -- cgit v1.2.3