diff --git a/shaders/cMotionBlur.fx b/shaders/cMotionBlur.fx index 5af72dd..e938ef1 100644 --- a/shaders/cMotionBlur.fx +++ b/shaders/cMotionBlur.fx @@ -338,7 +338,7 @@ namespace OpticalFlowLK S[3] = tex2D(Sample_Common_1_B, TexCoord.zy).xy; // A.x = Ix^2 (A11); A.y = Iy^2 (A22); A.z = IxIy (A12) - float3 A = ldexp(float3(FP16_MINIMUM, FP16_MINIMUM, 0.0), Level); + float3 A = float3(FP16_MINIMUM, FP16_MINIMUM, 0.0); A += (S[0].xyx * S[0].xyy); A += (S[1].xyx * S[1].xyy); A += (S[2].xyx * S[2].xyy); diff --git a/shaders/cOpticalFlowLK.fx b/shaders/cOpticalFlowLK.fx index e071355..ba3d21b 100644 --- a/shaders/cOpticalFlowLK.fx +++ b/shaders/cOpticalFlowLK.fx @@ -331,7 +331,7 @@ namespace OpticalFlowLK S[3] = tex2D(Sample_Common_1_B, TexCoord.zy).xy; // A.x = Ix^2 (A11); A.y = Iy^2 (A22); A.z = IxIy (A12) - float3 A = ldexp(float3(FP16_MINIMUM, FP16_MINIMUM, 0.0), Level); + float3 A = float3(FP16_MINIMUM, FP16_MINIMUM, 0.0); A += (S[0].xyx * S[0].xyy); A += (S[1].xyx * S[1].xyy); A += (S[2].xyx * S[2].xyy); diff --git a/shaders/kDatamosh.fx b/shaders/kDatamosh.fx index 7a2541d..654ec5f 100644 --- a/shaders/kDatamosh.fx +++ b/shaders/kDatamosh.fx @@ -407,7 +407,7 @@ namespace Datamosh S[3] = tex2D(Sample_Common_1_B, TexCoord.zy).xy; // A.x = Ix^2 (A11); A.y = Iy^2 (A22); A.z = IxIy (A12) - float3 A = ldexp(float3(FP16_MINIMUM, FP16_MINIMUM, 0.0), Level); + float3 A = float3(FP16_MINIMUM, FP16_MINIMUM, 0.0); A += (S[0].xyx * S[0].xyy); A += (S[1].xyx * S[1].xyy); A += (S[2].xyx * S[2].xyy);