bevy/crates/bevy_core_pipeline
Edgar Geier 05b1a6d0b5 Recreate tonemapping bind group if view uniforms buffer has changed (#7904)
# Objective

- Currently, https://github.com/vleue/bevy_bistro_playground crashes when enabling shadows, because this allocates a new buffer for the view uniforms, but the `TonemappingNode` uses a cached bind group that doesn't reference the new uniform buffer.

## Solution

- Check if the buffer id of the view uniforms buffer has changed and create a new bind group if it did.
2023-03-05 15:10:25 +00:00
..
src Recreate tonemapping bind group if view uniforms buffer has changed (#7904) 2023-03-05 15:10:25 +00:00
Cargo.toml Initial tonemapping options (#7594) 2023-02-19 20:38:13 +00:00