bevy/crates/bevy_pbr
Robert Swain 5cb6f7ffd2 Do not create nor execute render passes which have no phase items to draw (#4643)
# Objective

- Creating and executing render passes has GPU overhead. If there are no phase items in the render phase to draw, then this overhead should not be incurred as it has no benefit.

## Solution

- Check if there are no phase items to draw, and if not, do not construct not execute the render pass

---

## Changelog

- Changed: Do not create nor execute empty render passes
2022-05-02 20:22:30 +00:00
..
src Do not create nor execute render passes which have no phase items to draw (#4643) 2022-05-02 20:22:30 +00:00
Cargo.toml Move float_ord from bevy_core to bevy_utils (#4189) 2022-04-27 18:02:05 +00:00