Merge "Respect buffer rotation in OutputLayer's filtering test" into main