In ResampleEffect, be more aggressive about giving up on saving bilinear samples.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 17 Sep 2015 18:05:43 +0000 (20:05 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 17 Sep 2015 18:05:43 +0000 (20:05 +0200)
commit8bb071c7d0f0b03ffd15b3919f4e6afded57d1ea
treed3a19cfd8c50a1c2071cc40e117a5c163eeeab27
parent1bd97eb70a6fcb913bf954e369bc1a90ba17f74e
In ResampleEffect, be more aggressive about giving up on saving bilinear samples.

It turns out that for some kinds of loads, we can't use bilinearity at all
to our benefit, so we spend almost all of our time trying to go through
each line to see how much we can save. Simply send in the minimum number
so far when doing this evaluation to begin with, which means we'll effectively
short-circuit the entire thing pretty fast once we find a line that can save
nothing.
resample_effect.cpp