Fix #33188: AO pass wrong after recent change.
Fix #33188: AO pass wrong after recent change.

pyrochlore/cycles,tangent-opensource/coreBlackbird,tangent-opensource/coreBlackbird,pyrochlore/cycles,tangent-opensource/coreBlackbird,pyrochlore/cycles