]> git.sesse.net Git - movit/commit
Fix a bug where repeated vertical FFTs would reverse the output.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 15 Mar 2014 02:04:31 +0000 (03:04 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 15 Mar 2014 02:04:31 +0000 (03:04 +0100)
commit6462d4df1986c76e363cf21ee0c7734d1b312635
treeeccd5a4bbcbd70637e1d7524a2e5d47a1d64ff01
parent208bc4b0a8172f7de3f617455837447f85c0b163
Fix a bug where repeated vertical FFTs would reverse the output.

Unfortunately, the tests didn't catch this, as the Repeat test used
an even number of passes (being of size 64), which reversed things
back into place. It now tries a wider range of sizes to make sure
everything is okay.
fft_pass_effect.cpp
fft_pass_effect.frag
fft_pass_effect_test.cpp