aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-06-29 11:31:15 +0200
committerAnton Khirnov <anton@khirnov.net>2019-06-29 11:31:15 +0200
commit4f33b227486b40b68c7e5f9ed8fc9015277457bc (patch)
tree7d3d07f5bd1eacb7a4903fe59a3e98a80ad62d63
parentf0358ba048dbb7d77546326dbde745c8ab809f72 (diff)
mg2d: reduce restriction order to 1
This seems to work more reliably.
-rw-r--r--mg2d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mg2d.c b/mg2d.c
index 5560681..01a6853 100644
--- a/mg2d.c
+++ b/mg2d.c
@@ -881,9 +881,9 @@ static int mg_levels_init(MG2DContext *ctx)
if (ctx->fd_stencil == 1)
op_restrict = GRID_TRANSFER_FW_2;
else
- op_restrict = GRID_TRANSFER_FW_3;
+ op_restrict = GRID_TRANSFER_FW_1;
} else {
- op_restrict = op_interp;
+ op_restrict = GRID_TRANSFER_LAGRANGE_1;
}
ret = mg_setup_restrict(ctx, cur, op_restrict);