Propagate size correctly across effects that change output size.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 1 Sep 2015 23:02:38 +0000 (01:02 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 1 Sep 2015 23:02:38 +0000 (01:02 +0200)
commit4a35c01ed5407a3d9b9616f9d13e77970ee003ef
tree68a1c67ba6fd51c2a8a79ba2d2c129689eb16d8d
parent2b85d54dac93d98400c78eff109750ad19c4219b
Propagate size correctly across effects that change output size.

When propagating size information between effects in a phase,
we'd forget to check if the effect wanted to change size
and use that information instead of our own heuristics.
Fix that.

This is currently a no-op, since right now we always break a phase
when an effect changes output size, but there are very real situations
where we'd be fine with not doing so, so this patch paves the way
for that.
effect_chain.cpp