From 6a13c064b59848da123732b809aaf2ec5f15e6b4 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 27 Jul 2018 01:30:27 +0200 Subject: [PATCH] Halve the number of motion search iterations, to eight. The DIS code claims this is allowed after they changed their Sobel code; for us, seemingly SOR was the breaking point. EPE is hardly moving (<1% for most Sintel tests I've run), but speed goes up markedly. --- motion_search.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motion_search.frag b/motion_search.frag index f67cbba..cd251f4 100644 --- a/motion_search.frag +++ b/motion_search.frag @@ -36,7 +36,7 @@ */ const uint patch_size = 12; -const uint num_iterations = 16; +const uint num_iterations = 8; in vec2 flow_tc; in vec2 patch_center; -- 2.39.2