Skip to content

Commit

Permalink
Update cVideoProcessing.fxh
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Jul 29, 2023
1 parent d576b76 commit f1eb1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/shared/cVideoProcessing.fxh
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
float2 Shift = (Pi2 / (4.0 * i)) * j;
sincos(Shift, Shift.x, Shift.y);

float2 Tex = Input.MainTex.zw + (Shift * j);
float2 Tex = Input.MainTex.zw + (Shift * i);
SampleBlock(SampleImage, Input, Tex, Input.LOD.zw, Image);
float SAD = GetSAD(Template, Image);

Expand Down

0 comments on commit f1eb1e6

Please sign in to comment.