bevy/crates/bevy_render
Dusty DeWeese 5a297d7903 Reuse texture when resolving multiple passes (#3552)
# Objective

Fixes https://github.com/bevyengine/bevy/issues/3499

## Solution

Uses a `HashMap` from `RenderTarget` to sampled textures when preparing `ViewTarget`s to ensure that two passes with the same render target get sampled to the same texture.

This builds on and depends on https://github.com/bevyengine/bevy/pull/3412, so this will be a draft PR until #3412 is merged. All changes for this PR are in the last commit.
2022-04-12 19:27:30 +00:00
..
src Reuse texture when resolving multiple passes (#3552) 2022-04-12 19:27:30 +00:00
Cargo.toml bevy_app: add tracing event with tracy.frame_mark (#4320) 2022-04-08 22:50:23 +00:00