Commit b55ed74a authored by Ivan Yossi's avatar Ivan Yossi 👌

FIX: Gauss Circular Mask Antialiasing

A double declaration caused the mask not to apply
parent 8d676447
......@@ -209,11 +209,10 @@ FastRowProcessor::process<Vc::CurrentImplementation::current()>(float* buffer, i
Vc::float_m fadeStartMask(false);
// if antialias is off, do not process
if(antialiasOn){
Vc::float_m fadeStartMask = dist > vFadeAFadeStart;
fadeStartMask = dist > vFadeAFadeStart;
dist((outsideMask ^ fadeStartMask) & fadeStartMask) = (vFadeStartValue + (dist - vFadeAFadeStart) * vFadeAFadeCoeff) / vValMax;
}
Vc::float_m excludeMask = outsideMask | fadeStartMask;
Vc::float_m excludeMask(outsideMask | fadeStartMask);
if (!excludeMask.isFull()) {
Vc::float_v valDist = dist * vDistfactor;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment