Revert "!UPSTREAM: Debug optimization passes."

This reverts commit fe469003eb7bc520f76b0126b4806d411ca816bb.
HACK
fixup! !UPSTREAM: fix meta clear of layered framebuffers