refactor: remove unnecessary switches from StagedRenderingController (#95383)
We have a couple switches in `StagedRenderingController` where the main purpose ends up being eliminating `Before/Dynamic/Abandoned` (i.e. the start and the end stages). Since we migrated everything to `RENDER_STAGE_ORDER` loops, we no longer really need to list all the intermediate stages out explicitly in these switches. It's enough to rule out the "special" stages and let the rest of the code be generic. This saves some work when adding/removing intermediate stages. View with "hide whitespace", otherwise it looks messy.
Showing
Please
register
or
sign in
to comment