lta = (coord - boundsUniform.xy) * boundsUniform.zw;
            delta = min(delta, float2(1.0) - delta);
            delta *= float2(xInvInset, yInvInset);

            float weight = 0.0;
            if (delta.s < 2.0 && delta.t < 2.0) {
                delta = float2(2.0) - delta;
                float dist = length(delta);
                dist = max(2.0 - dist, 0.0);
                weight = min(dist * dist, 1.0);
            } else {
                float2 delta_squared = delta * delta;
                weight = min(min(delta_squared.x, delta_squared.y), 1.0);
            }

            return src.eval(mix(coord, zoom_coord, weight));
        }
    